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
commit5ae0fd802cc8233d5ff95b8bf74d993240ce7c07 (patch)
tree2c2cd41fa116b281448cd67b74100a8ff9c24e18 /target/linux
parente52269364a5014ff734e20aae606f6a89dce66a5 (diff)
downloadupstream-5ae0fd802cc8233d5ff95b8bf74d993240ce7c07.tar.gz
upstream-5ae0fd802cc8233d5ff95b8bf74d993240ce7c07.tar.bz2
upstream-5ae0fd802cc8233d5ff95b8bf74d993240ce7c07.zip
ar71xx: fix GPIO count for AR934x
SVN-Revision: 29109
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;