提交 4cc6420c 编写于 作者: T Tony Lindgren

omap: Remove uninitialized warning for gpio.c

Flags is not used on 15xx.
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 acf9d467
...@@ -1117,7 +1117,7 @@ static inline void _set_gpio_irqenable(struct gpio_bank *bank, int gpio, int ena ...@@ -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) static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable)
{ {
unsigned long flags; unsigned long uninitialized_var(flags);
switch (bank->method) { switch (bank->method) {
#ifdef CONFIG_ARCH_OMAP16XX #ifdef CONFIG_ARCH_OMAP16XX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册