summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-03-30 21:59:37 +0900
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 14:50:40 +0100
commit52f8301437a0ba744265e0549ee7239eb85426fc (patch)
tree1634b522b0e428777b0fa8d8fe66ad048224a0a6
parent1ff184225b15930ea118ac2130f074c741d34f08 (diff)
downloadop-kernel-dev-52f8301437a0ba744265e0549ee7239eb85426fc.zip
op-kernel-dev-52f8301437a0ba744265e0549ee7239eb85426fc.tar.gz
[MTD] [NAND] at91_nand: Make part_probes[] static
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>
-rw-r--r--drivers/mtd/nand/at91_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/at91_nand.c b/drivers/mtd/nand/at91_nand.c
index 7ea1a74..463632e 100644
--- 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
/*
OpenPOWER on IntegriCloud