projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf9d46
)
omap: Remove uninitialized warning for gpio.c
author
Tony Lindgren
<tony@atomide.com>
Fri, 8 Jan 2010 18:29:05 +0000
(10:29 -0800)
committer
Tony 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
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/gpio.c
b/arch/arm/plat-omap/gpio.c
index f8dfa8d5e605a081efbe6268185cd4265903d968..d17620c50c286a9a7aa5f3e80a05872042acdd79 100644
(file)
--- a/
arch/arm/plat-omap/gpio.c
+++ b/
arch/arm/plat-omap/gpio.c
@@
-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