Skip to contentSkip to conversation

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

PATCH In review Adrian Bunk 2 participants 2 messages Feb 13, 2008 – Feb 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make mtd/nand/cs553x_nand.c:part_probes[] static

This patch makes the needlessly global part_probes[] static.

---
054adb5b7a0d1ebaef61192ccf78df37aec42270 diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c index 8dab696..3370a80 100644

drivers/mtd/nand/cs553x_nand.c +1 -1
@@ -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