diff options
-rw-r--r-- | arch/mips/ath79/gpio.c | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/ath79/gpio.c b/arch/mips/ath79/gpio.c index a0c426b82123..a2f8ca630ed6 100644 --- a/arch/mips/ath79/gpio.c +++ b/arch/mips/ath79/gpio.c | |||
@@ -153,6 +153,8 @@ void __init ath79_gpio_init(void) | |||
153 | ath79_gpio_count = AR724X_GPIO_COUNT; | 153 | ath79_gpio_count = AR724X_GPIO_COUNT; |
154 | else if (soc_is_ar913x()) | 154 | else if (soc_is_ar913x()) |
155 | ath79_gpio_count = AR913X_GPIO_COUNT; | 155 | ath79_gpio_count = AR913X_GPIO_COUNT; |
156 | else if (soc_is_ar933x()) | ||
157 | ath79_gpio_count = AR933X_GPIO_COUNT; | ||
156 | else | 158 | else |
157 | BUG(); | 159 | BUG(); |
158 | 160 | ||
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index 9c76185801d0..e65c10dd159b 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |||
@@ -298,5 +298,6 @@ | |||
298 | #define AR71XX_GPIO_COUNT 16 | 298 | #define AR71XX_GPIO_COUNT 16 |
299 | #define AR724X_GPIO_COUNT 18 | 299 | #define AR724X_GPIO_COUNT 18 |
300 | #define AR913X_GPIO_COUNT 22 | 300 | #define AR913X_GPIO_COUNT 22 |
301 | #define AR933X_GPIO_COUNT 30 | ||
301 | 302 | ||
302 | #endif /* __ASM_MACH_AR71XX_REGS_H */ | 303 | #endif /* __ASM_MACH_AR71XX_REGS_H */ |