diff options
Diffstat (limited to 'arch/mips/ath79/gpio.c')
-rw-r--r-- | arch/mips/ath79/gpio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/ath79/gpio.c b/arch/mips/ath79/gpio.c index 29054f211832..48fe762d2526 100644 --- a/arch/mips/ath79/gpio.c +++ b/arch/mips/ath79/gpio.c | |||
@@ -188,8 +188,10 @@ void __init ath79_gpio_init(void) | |||
188 | 188 | ||
189 | if (soc_is_ar71xx()) | 189 | if (soc_is_ar71xx()) |
190 | ath79_gpio_count = AR71XX_GPIO_COUNT; | 190 | ath79_gpio_count = AR71XX_GPIO_COUNT; |
191 | else if (soc_is_ar724x()) | 191 | else if (soc_is_ar7240()) |
192 | ath79_gpio_count = AR724X_GPIO_COUNT; | 192 | ath79_gpio_count = AR7240_GPIO_COUNT; |
193 | else if (soc_is_ar7241() || soc_is_ar7242()) | ||
194 | ath79_gpio_count = AR7241_GPIO_COUNT; | ||
193 | else if (soc_is_ar913x()) | 195 | else if (soc_is_ar913x()) |
194 | ath79_gpio_count = AR913X_GPIO_COUNT; | 196 | ath79_gpio_count = AR913X_GPIO_COUNT; |
195 | else if (soc_is_ar933x()) | 197 | else if (soc_is_ar933x()) |