projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: enable GPIO support for the AR934x SoCs
[openwrt/staging/yousong.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
gpio.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/gpio.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/gpio.c
index cdb614bbe1e50081e0cb7e45d54b855fbcb65a15..0ee68470036f0595c9bb3477dfd56c4ee5a257f2 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/gpio.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/gpio.c
@@
-172,6
+172,12
@@
void __init ar71xx_gpio_init(void)
ar71xx_gpio_chip.ngpio = AR91XX_GPIO_COUNT;
break;
+ case AR71XX_SOC_AR9341:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
+ ar71xx_gpio_chip.ngpio = AR934X_GPIO_COUNT;
+ break;
+
default:
BUG();
}