diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 11c5b0eefb85..c05c653d1674 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -2084,7 +2084,7 @@ void omap2_gpio_prepare_for_idle(int power_state) | |||
2084 | 2084 | ||
2085 | for (i = min; i < gpio_bank_count; i++) { | 2085 | for (i = min; i < gpio_bank_count; i++) { |
2086 | struct gpio_bank *bank = &gpio_bank[i]; | 2086 | struct gpio_bank *bank = &gpio_bank[i]; |
2087 | u32 l1, l2; | 2087 | u32 l1 = 0, l2 = 0; |
2088 | int j; | 2088 | int j; |
2089 | 2089 | ||
2090 | for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++) | 2090 | for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++) |
@@ -2152,7 +2152,7 @@ void omap2_gpio_resume_after_idle(void) | |||
2152 | min = 1; | 2152 | min = 1; |
2153 | for (i = min; i < gpio_bank_count; i++) { | 2153 | for (i = min; i < gpio_bank_count; i++) { |
2154 | struct gpio_bank *bank = &gpio_bank[i]; | 2154 | struct gpio_bank *bank = &gpio_bank[i]; |
2155 | u32 l, gen, gen0, gen1; | 2155 | u32 l = 0, gen, gen0, gen1; |
2156 | int j; | 2156 | int j; |
2157 | 2157 | ||
2158 | for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++) | 2158 | for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++) |