diff options
author | Tony Lindgren <tony@atomide.com> | 2010-01-08 13:29:05 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-01-08 13:29:05 -0500 |
commit | 4cc6420c123317489e6c0d4bf7112f7098ac82ef (patch) | |
tree | d3a27e993e6dcdd23ef2d031127ad9da6a418a68 /arch/arm/plat-omap | |
parent | acf9d467dc951daa0071b5a1f4bed8c108f7ebec (diff) |
omap: Remove uninitialized warning for gpio.c
Flags is not used on 15xx.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index f8dfa8d5e605..d17620c50c28 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1117,7 +1117,7 @@ static inline void _set_gpio_irqenable(struct gpio_bank *bank, int gpio, int ena | |||
1117 | */ | 1117 | */ |
1118 | static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable) | 1118 | static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable) |
1119 | { | 1119 | { |
1120 | unsigned long flags; | 1120 | unsigned long uninitialized_var(flags); |
1121 | 1121 | ||
1122 | switch (bank->method) { | 1122 | switch (bank->method) { |
1123 | #ifdef CONFIG_ARCH_OMAP16XX | 1123 | #ifdef CONFIG_ARCH_OMAP16XX |