Reported-by: Steve Brown <sbr...@cortland.com>
Signed-off-by: Sven Eckelmann <s...@open-mesh.com>
---
 .../739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch         | 2 +-
 .../739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 
b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
index af828b04bffd..24ce7d83c56d 100644
--- 
a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
+++ 
b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
@@ -14,7 +14,7 @@
 +              gpio_count = AR934X_GPIO_COUNT;
 +              reg_base = AR934X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca953x()) {
-+              reg_base = QCA953X_GPIO_COUNT;
++              gpio_count = QCA953X_GPIO_COUNT;
 +              reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca955x()) {
 +              gpio_count = QCA955X_GPIO_COUNT;
diff --git 
a/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 
b/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
index af828b04bffd..24ce7d83c56d 100644
--- 
a/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
+++ 
b/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
@@ -14,7 +14,7 @@
 +              gpio_count = AR934X_GPIO_COUNT;
 +              reg_base = AR934X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca953x()) {
-+              reg_base = QCA953X_GPIO_COUNT;
++              gpio_count = QCA953X_GPIO_COUNT;
 +              reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca955x()) {
 +              gpio_count = QCA955X_GPIO_COUNT;
-- 
2.5.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to