summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-01-28 01:39:44 +0100
committerTony Lindgren <tony@atomide.com>2011-01-28 01:39:48 +0100
commit277a28567fe928bd94e9953a187002f5041c34a4 (patch)
treeb271c1c4ca29fc1e4018539739866c78122c550f /arch/arm/mach-omap1
parentarm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static (diff)
downloadlinux-277a28567fe928bd94e9953a187002f5041c34a4.tar.xz
linux-277a28567fe928bd94e9953a187002f5041c34a4.zip
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>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/board-h3.c2
1 files changed, 1 insertions, 1 deletions
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,