forked from luck/tmp_suning_uos_patched
omap: Remove uninitialized warning for gpio.c
Flags is not used on 15xx. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
acf9d467dc
commit
4cc6420c12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user