diff options
Diffstat (limited to 'arch/arm/plat-omap/gpio.c')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index e4741905285b..2b0d90109828 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -205,13 +205,6 @@ struct gpio_bank { | |||
205 | u32 dbck_enable_mask; | 205 | u32 dbck_enable_mask; |
206 | }; | 206 | }; |
207 | 207 | ||
208 | #define METHOD_MPUIO 0 | ||
209 | #define METHOD_GPIO_1510 1 | ||
210 | #define METHOD_GPIO_1610 2 | ||
211 | #define METHOD_GPIO_7XX 3 | ||
212 | #define METHOD_GPIO_24XX 5 | ||
213 | #define METHOD_GPIO_44XX 6 | ||
214 | |||
215 | #ifdef CONFIG_ARCH_OMAP16XX | 208 | #ifdef CONFIG_ARCH_OMAP16XX |
216 | static struct gpio_bank gpio_bank_1610[5] = { | 209 | static struct gpio_bank gpio_bank_1610[5] = { |
217 | { OMAP1_MPUIO_VBASE, NULL, INT_MPUIO, IH_MPUIO_BASE, | 210 | { OMAP1_MPUIO_VBASE, NULL, INT_MPUIO, IH_MPUIO_BASE, |
@@ -335,7 +328,8 @@ static struct gpio_bank gpio_bank_44xx[6] = { | |||
335 | #endif | 328 | #endif |
336 | 329 | ||
337 | static struct gpio_bank *gpio_bank; | 330 | static struct gpio_bank *gpio_bank; |
338 | static int gpio_bank_count; | 331 | /* TODO: Analyze removing gpio_bank_count usage from driver code */ |
332 | int gpio_bank_count; | ||
339 | 333 | ||
340 | static inline struct gpio_bank *get_gpio_bank(int gpio) | 334 | static inline struct gpio_bank *get_gpio_bank(int gpio) |
341 | { | 335 | { |