ar71xx: fix GPIO count for AR934x
authorGabor Juhos <juhosg@openwrt.org>
Mon, 14 Nov 2011 13:07:45 +0000 (13:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 14 Nov 2011 13:07:45 +0000 (13:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

index 4068e91..91f3824 100644 (file)
@@ -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;