Przeglądaj źródła

arm: mach-omap1: board-h3: make nand_platdata static

Eliminates the following sparse warning:

	arch/arm/mach-omap1/board-h3.c:207:27: warning: symbol 'nand_platdata' was not declared. Should it be static?

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Aaro Koskinen 14 lat temu
rodzic
commit
277a28567f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      arch/arm/mach-omap1/board-h3.c

+ 1 - 1
arch/arm/mach-omap1/board-h3.c

@@ -204,7 +204,7 @@ static int nand_dev_ready(struct mtd_info *mtd)
 
 static const char *part_probes[] = { "cmdlinepart", NULL };
 
-struct platform_nand_data nand_platdata = {
+static struct platform_nand_data nand_platdata = {
 	.chip	= {
 		.nr_chips		= 1,
 		.chip_offset		= 0,