aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-14 13:07:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-14 13:07:45 +0000
commit33c5c80fa5d233a981186f7594d11a615a68497c (patch)
tree912224eaccdf5807f7b43504e0f17604870f6c3e /target/linux
parent54d08f41c98e3fc8be875282725570f46f994253 (diff)
downloadupstream-33c5c80fa5d233a981186f7594d11a615a68497c.tar.gz
upstream-33c5c80fa5d233a981186f7594d11a615a68497c.tar.bz2
upstream-33c5c80fa5d233a981186f7594d11a615a68497c.zip
ar71xx: fix GPIO count for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
index 4068e91105..91f382480a 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
@@ -478,7 +478,7 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
#define AR934X_GPIO_FUNC_SPI_CS_1_EN BIT(14)
#define AR934X_GPIO_FUNC_SPI_CS_0_EN BIT(13)
-#define AR934X_GPIO_COUNT 32
+#define AR934X_GPIO_COUNT 23
#define AR934X_GPIO_FUNC_DDR_DQOE_EN BIT(17)
extern void __iomem *ar71xx_gpio_base;