summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-02 18:54:20 -0500
committerMike Frysinger <vapier@gentoo.org>2012-02-12 15:03:26 -0500
commit3f54108be93587612786e5f7e5f5468893ff0de9 (patch)
tree31d39dafc8f6e4bc982818bd31691d5d9b775e9f /drivers
parent273d11eae5cbd124ea64df99d14678b4d3694961 (diff)
downloadu-boot-imx-3f54108be93587612786e5f7e5f5468893ff0de9.zip
u-boot-imx-3f54108be93587612786e5f7e5f5468893ff0de9.tar.gz
u-boot-imx-3f54108be93587612786e5f7e5f5468893ff0de9.tar.bz2
Blackfin: bfin_nand: mark local func static
This devready func is only used in this driver, so mark it static. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/bfin_nand.c2
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;