diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-12-14 20:47:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-12-14 20:47:24 +0000 |
commit | 7076d74b21d73b7a18d00041f7e161d05f729bfd (patch) | |
tree | db62412390577acc84cecab50f8dca0db670f4ea /target/linux/ar71xx/files/arch/mips/include/asm | |
parent | b878f4a927e872889879d1bc49abc88ff6edb1ea (diff) | |
download | mtk-20170518-7076d74b21d73b7a18d00041f7e161d05f729bfd.zip mtk-20170518-7076d74b21d73b7a18d00041f7e161d05f729bfd.tar.gz mtk-20170518-7076d74b21d73b7a18d00041f7e161d05f729bfd.tar.bz2 |
ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 d9c5e87..6ff8861 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) |