diff options
author | Nishanth Menon <nm@ti.com> | 2011-01-06 22:49:29 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-06 22:58:28 -0500 |
commit | 2393608aede2380afc3fa8815197363f01f328ad (patch) | |
tree | c6b15911ceb5354c498d35847bdb6205a19ef7c9 /arch/arm | |
parent | 0ce3bb7208b5bf7de2d869a881372b60cc37362c (diff) |
omap3: igep3: make igep3_flash_init static
igep3_flash_init is not used beyond the scope of the file, make it
static instead.
Fixes sparse warning:
arch/arm/mach-omap2/board-igep0030.c:106:13: warning: symbol 'igep3_flash_init' was not declared. Should it be static?
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0030.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-igep0030.c b/arch/arm/mach-omap2/board-igep0030.c index bcccd68f1856..c88e8f7f28ee 100644 --- a/arch/arm/mach-omap2/board-igep0030.c +++ b/arch/arm/mach-omap2/board-igep0030.c | |||
@@ -103,7 +103,7 @@ static struct platform_device igep3_onenand_device = { | |||
103 | }, | 103 | }, |
104 | }; | 104 | }; |
105 | 105 | ||
106 | void __init igep3_flash_init(void) | 106 | static void __init igep3_flash_init(void) |
107 | { | 107 | { |
108 | u8 cs = 0; | 108 | u8 cs = 0; |
109 | u8 onenandcs = GPMC_CS_NUM + 1; | 109 | u8 onenandcs = GPMC_CS_NUM + 1; |
@@ -137,7 +137,7 @@ void __init igep3_flash_init(void) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | #else | 139 | #else |
140 | void __init igep3_flash_init(void) {} | 140 | static void __init igep3_flash_init(void) {} |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | static struct regulator_consumer_supply igep3_vmmc1_supply = { | 143 | static struct regulator_consumer_supply igep3_vmmc1_supply = { |