diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-01-27 16:39:44 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-27 16:39:48 -0800 |
commit | 277a28567fe928bd94e9953a187002f5041c34a4 (patch) | |
tree | b271c1c4ca29fc1e4018539739866c78122c550f /arch/arm/mach-omap1/board-h3.c | |
parent | 140089da7e5e55012afe1e550c93e155c3a4e716 (diff) |
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/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 2 |
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, |