From 5841748e56b43bc427876692b728871993d5bdff Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 14 Dec 2011 20:47:24 +0000 Subject: ar71xx: fix gpio count for ar7241/ar7242 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h') 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 d9c5e87f3..6ff886134 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 @@ -466,7 +466,8 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg) #define AR724X_GPIO_FUNC_UART_EN BIT(1) #define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0) -#define AR724X_GPIO_COUNT 18 +#define AR7240_GPIO_COUNT 18 +#define AR7241_GPIO_COUNT 20 #define AR91XX_GPIO_FUNC_WMAC_LED_EN BIT(22) #define AR91XX_GPIO_FUNC_EXP_PORT_CS_EN BIT(21) -- cgit v1.2.3