summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-14 13:07:45 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-14 13:07:45 +0000
commite8a5cbc6603e3761f0fbeb11b1b9a04f9234149c (patch)
tree912224eaccdf5807f7b43504e0f17604870f6c3e /target
parent2f0405019f0159ed4498363e19a74b46f703e097 (diff)
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')
-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;