Skip to content

Commit

Permalink
omap: Remove uninitialized warning for gpio.c
Browse files Browse the repository at this point in the history
Flags is not used on 15xx.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jan 8, 2010
1 parent acf9d46 commit 4cc6420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cc6420

Please sign in to comment.