[PATCH] omap: Remove uninitialized warning for gpio.c
Tony Lindgren
tony at atomide.com
Tue Jan 5 15:17:06 EST 2010
Flags is not used on 15xx.
Signed-off-by: Tony Lindgren <tony at atomide.com>
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 0484681..792be9f 100644
--- a/arch/arm/plat-omap/gpio.c
+++ b/arch/arm/plat-omap/gpio.c
@@ -1072,7 +1072,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
--Qxx1br4bt0+wmkIi--
More information about the linux-arm-kernel
mailing list