[U-Boot] [PATCH] Blackfin: bfin_nand: mark local func static

Mike Frysinger vapier at gentoo.org
Fri Feb 3 00:54:37 CET 2012


This devready func is only used in this driver, so mark it static.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 drivers/mtd/nand/bfin_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/bfin_nand.c b/drivers/mtd/nand/bfin_nand.c
index 3ee060f..c7ddbb2 100644
--- a/drivers/mtd/nand/bfin_nand.c
+++ b/drivers/mtd/nand/bfin_nand.c
@@ -73,7 +73,7 @@ static void bfin_nfc_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
 	SSYNC();
 }
 
-int bfin_nfc_devready(struct mtd_info *mtd)
+static int bfin_nfc_devready(struct mtd_info *mtd)
 {
 	pr_stamp();
 	return (bfin_read_NFC_STAT() & NBUSY) ? 1 : 0;
-- 
1.7.8.4



More information about the U-Boot mailing list