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)
SVN-Revision: 29109

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

index 4068e91105d4ddb008c606302be8acfdeba1ae7e..91f382480a043fc61b32700b072938752f939b10 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_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;
 #define AR934X_GPIO_FUNC_DDR_DQOE_EN   BIT(17)
 
 extern void __iomem *ar71xx_gpio_base;