[2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static

Adrian Bunk bunk at kernel.org
Wed Feb 13 16:30:10 EST 2008


This patch makes the needlessly global part_probes[] static.

Signed-off-by: Adrian Bunk <bunk at kernel.org>

---
054adb5b7a0d1ebaef61192ccf78df37aec42270 diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 8dab696..3370a80 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -279,7 +279,7 @@ static int is_geode(void)
 
 
 #ifdef CONFIG_MTD_PARTITIONS
-const char *part_probes[] = { "cmdlinepart", NULL };
+static const char *part_probes[] = { "cmdlinepart", NULL };
 #endif
 
 




More information about the linux-mtd mailing list