MIPS: ath79: add AR933X specific GPIO initialization
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Cc: Kathy Giori <kgiori@qca.qualcomm.com> Cc: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com> Patchwork: https://patchwork.linux-mips.org/patch/2524/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
54eed4c77c
commit
fdfbcf4705
2 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,8 @@ void __init ath79_gpio_init(void)
|
|||
ath79_gpio_count = AR724X_GPIO_COUNT;
|
||||
else if (soc_is_ar913x())
|
||||
ath79_gpio_count = AR913X_GPIO_COUNT;
|
||||
else if (soc_is_ar933x())
|
||||
ath79_gpio_count = AR933X_GPIO_COUNT;
|
||||
else
|
||||
BUG();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue