summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAdrian Bunk2008-04-18 22:44:12 +0200
committerDavid Woodhouse2008-04-22 13:35:40 +0200
commitec12cc74e998fa39e8d707d2deb3116f9838308a (patch)
treef2f666a6af1504dc29b9e7b689bf62bb2e01deb2 /drivers/mtd
parent[MTD] mtdoops.c: make struct oops_cxt static again (diff)
downloadkernel-qcow2-linux-ec12cc74e998fa39e8d707d2deb3116f9838308a.tar.gz
kernel-qcow2-linux-ec12cc74e998fa39e8d707d2deb3116f9838308a.tar.xz
kernel-qcow2-linux-ec12cc74e998fa39e8d707d2deb3116f9838308a.zip
[MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static
Make the needlessly global part_probes[] static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/cs553x_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 8dab69657b19..3370a800fd36 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