arm: mach-omap1: board-h3: make nand_platdata static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 28 Jan 2011 00:39:44 +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-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>
arch/arm/mach-omap1/board-h3.c

index dbc8b8d882bad10c6bda9ed9deef91dde6bf920f..ac48677672ee6bcc990ce25487a373e4e4928850 100644 (file)
@@ -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,