Commit 4cc6420c authored by Tony Lindgren's avatar Tony Lindgren

omap: Remove uninitialized warning for gpio.c

Flags is not used on 15xx.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent acf9d467
......@@ -1117,7 +1117,7 @@ static inline void _set_gpio_irqenable(struct gpio_bank *bank, int gpio, int ena
*/
static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable)
{
unsigned long flags;
unsigned long uninitialized_var(flags);
switch (bank->method) {
#ifdef CONFIG_ARCH_OMAP16XX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment