diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-10-24 10:32:21 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-24 13:24:04 +0200 |
commit | 65da6f9ca164cc321a84f28c81785a21af6af6fd (patch) | |
tree | 6dc5e77fbb5654516295267be7d309dcf2cc1b0d /target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c | |
parent | 8d9ff6b6f7b2ba0c3dcba926099f819af871e0a8 (diff) | |
download | upstream-65da6f9ca164cc321a84f28c81785a21af6af6fd.tar.gz upstream-65da6f9ca164cc321a84f28c81785a21af6af6fd.tar.bz2 upstream-65da6f9ca164cc321a84f28c81785a21af6af6fd.zip |
ar71xx: fix secondary gpio controller base values
In 4.9, gpio count is rounded up to 32 due to the use of bgpio in the
ath79 gpio controller driver.
Fix base values in mach files to account for that
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c index 64955c7994..21b8e8cf8b 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c @@ -56,7 +56,7 @@ #define ARCHER_C7_GPIO_LED_USB1 7 #define ARCHER_C7_GPIO_LED_USB2 8 -#define ARCHER_C7_74HC_GPIO_BASE QCA956X_GPIO_COUNT +#define ARCHER_C7_74HC_GPIO_BASE 32 #define ARCHER_C7_GPIO_LED_WPS (ARCHER_C7_74HC_GPIO_BASE + 0) #define ARCHER_C7_GPIO_LED_LAN1 (ARCHER_C7_74HC_GPIO_BASE + 1) #define ARCHER_C7_GPIO_LED_LAN2 (ARCHER_C7_74HC_GPIO_BASE + 2) |