omap: Remove uninitialized warning for gpio.c
authorTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:05 +0000 (10:29 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:05 +0000 (10:29 -0800)
Flags is not used on 15xx.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c

index f8dfa8d5e605a081efbe6268185cd4265903d968..d17620c50c286a9a7aa5f3e80a05872042acdd79 100644 (file)
@@ -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