From: Aaro Koskinen Date: Fri, 28 Jan 2011 00:39:43 +0000 (-0800) Subject: arm: mach-omap1: board-h2: make h2_nand_platdata static X-Git-Tag: MMI-PSA29.97-13-9~20087^2~37^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5db98f75f91006eaa37db3e13e320155225990e2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git arm: mach-omap1: board-h2: make h2_nand_platdata static 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index 28b84aa9bdba..ba3bd09c4754 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c @@ -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,