瀏覽代碼

[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>
Adrian Bunk 17 年之前
父節點
當前提交
ec12cc74e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/nand/cs553x_nand.c

+ 1 - 1
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