[PATCH] at91_nand: Make part_probes[] static
Atsushi Nemoto
anemo at mba.ocn.ne.jp
Sun Mar 30 08:59:37 EDT 2008
The part_probes[] should be static.
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Acked-by: Joern Engel <joern at logfs.org>
---
This is a resend of same patch, with (hopefully) better description.
diff --git a/drivers/mtd/nand/at91_nand.c b/drivers/mtd/nand/at91_nand.c
index b2a5672..9adbf2a 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
/*
More information about the linux-mtd
mailing list