From: Mike Frysinger Date: Thu, 2 Feb 2012 23:54:20 +0000 (-0500) Subject: Blackfin: bfin_nand: mark local func static X-Git-Tag: v2012.04-rc1~158^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f54108be93587612786e5f7e5f5468893ff0de9;p=u-boot 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 --- diff --git a/drivers/mtd/nand/bfin_nand.c b/drivers/mtd/nand/bfin_nand.c index 3ee060f859..c7ddbb21d8 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;