From: Gabor Juhos Date: Mon, 14 Nov 2011 13:07:45 +0000 (+0000) Subject: ar71xx: fix GPIO count for AR934x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5ae0fd802cc8233d5ff95b8bf74d993240ce7c07;p=openwrt%2Fstaging%2Fblocktrron.git ar71xx: fix GPIO count for AR934x SVN-Revision: 29109 --- 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;