From: Aaro Koskinen Date: Fri, 28 Jan 2011 00:39:44 +0000 (-0800) Subject: arm: mach-omap1: board-h3: make nand_platdata static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=277a28567fe928bd94e9953a187002f5041c34a4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index dbc8b8d882ba..ac48677672ee 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/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,