فهرست منبع

[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>
Atsushi Nemoto 17 سال پیش
والد
کامیت
52f8301437
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/mtd/nand/at91_nand.c

+ 1 - 1
drivers/mtd/nand/at91_nand.c

@@ -83,7 +83,7 @@ static void at91_nand_disable(struct at91_nand_host *host)
 }
 }
 
 
 #ifdef CONFIG_MTD_PARTITIONS
 #ifdef CONFIG_MTD_PARTITIONS
-const char *part_probes[] = { "cmdlinepart", NULL };
+static const char *part_probes[] = { "cmdlinepart", NULL };
 #endif
 #endif
 
 
 /*
 /*