1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar71xx] initialize GPIO for the AR7240 SoC

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16647 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-07-01 19:38:26 +00:00
parent d50a571483
commit b76d0eff6f
2 changed files with 6 additions and 0 deletions

View File

@@ -139,6 +139,10 @@ void __init ar71xx_gpio_init(void)
ar71xx_gpio_chip.ngpio = AR71XX_GPIO_COUNT;
break;
case AR71XX_SOC_AR7240:
ar71xx_gpio_chip.ngpio = AR724X_GPIO_COUNT;
break;
case AR71XX_SOC_AR9130:
case AR71XX_SOC_AR9132:
ar71xx_gpio_chip.ngpio = AR91XX_GPIO_COUNT;