arm: mach-omap1: board-h2: make h2_nand_platdata static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 28 Jan 2011 00:39:43 +0000 (16:39 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Jan 2011 00:39:48 +0000 (16:39 -0800)
Eliminates the following sparse warning:

arch/arm/mach-omap1/board-h2.c:205:27: warning: symbol 'h2_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>
arch/arm/mach-omap1/board-h2.c

index 28b84aa9bdba9d0c6090392036a7838c0983a11d..ba3bd09c4754562add074e2dec4864ce4acd8e14 100644 (file)
@@ -202,7 +202,7 @@ static int h2_nand_dev_ready(struct mtd_info *mtd)
 
 static const char *h2_part_probes[] = { "cmdlinepart", NULL };
 
-struct platform_nand_data h2_nand_platdata = {
+static struct platform_nand_data h2_nand_platdata = {
        .chip   = {
                .nr_chips               = 1,
                .chip_offset            = 0,