projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273d11e
)
Blackfin: bfin_nand: mark local func static
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 2 Feb 2012 23:54:20 +0000
(18:54 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 12 Feb 2012 20:03:26 +0000
(15:03 -0500)
This devready func is only used in this driver, so mark it static.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/nand/bfin_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/bfin_nand.c
b/drivers/mtd/nand/bfin_nand.c
index 3ee060f859fc9646d27a61e271a2bc08253a8541..c7ddbb21d8ed95edd8463cbe69349df3e0d03b1a 100644
(file)
--- 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;