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 4068e9110..91f382480 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;