projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ff1842
)
[MTD] [NAND] at91_nand: Make part_probes[] static
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Sun, 30 Mar 2008 12:59:37 +0000
(21:59 +0900)
committer
David Woodhouse
<dwmw2@infradead.org>
Tue, 22 Apr 2008 13:50:40 +0000
(14:50 +0100)
The part_probes[] should be static.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Jörn Engel <joern@logfs.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/at91_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/at91_nand.c
b/drivers/mtd/nand/at91_nand.c
index 7ea1a74a52b7fa89bec69e9448b6ae57490fa448..463632ed794c84771d364547342d79040921cef4 100644
(file)
--- a/
drivers/mtd/nand/at91_nand.c
+++ b/
drivers/mtd/nand/at91_nand.c
@@
-83,7
+83,7
@@
static void at91_nand_disable(struct at91_nand_host *host)
}
#ifdef CONFIG_MTD_PARTITIONS
-const char *part_probes[] = { "cmdlinepart", NULL };
+
static
const char *part_probes[] = { "cmdlinepart", NULL };
#endif
/*