make mtd/nand/cs553x_nand.c:part_probes[] static
Subsystems (2)
PATCH 1/1 make mtd/nand/cs553x_nand.c:part_probes[] static
This patch makes the needlessly global part_probes[] static.
Signed-off-by Adrian Bunk <[email protected]>
---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
Ühel kenal päeval, K, 2008-02-13 kell 23:30, kirjutas Adrian Bunk:
Quoted 3 lines
This patch makes the needlessly global part_probes[] static.
Signed-off-by Adrian Bunk <[email protected]>
Acked-by Mart Raudsepp <[email protected]>
Note that many other drivers in mtd/nand have the same part_probes array global instead of static.