[Vivid SRU PATCH] (upstream) gpio: dwapb: re-enable GPIO_DWAPB for arm64

Craig Magina craig.magina at canonical.com
Thu May 14 21:48:56 UTC 2015


From: Kefeng Wang <wangkefeng.wang at huawei.com>

Hisilicon arm64 soc uses designWare gpio, re-enable it after
commit 1972c97db5b(gpio: dwapb: fix compile errors).

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1455105

Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
(cherry picked from commit b90f8f22ed86f4f1a38dd2178c4be558c0c70fb9)
Signed-off-by: Craig Magina <craig.magina at canonical.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 633ec21..4940c71 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -148,7 +148,7 @@ config GPIO_GENERIC_PLATFORM
 
 config GPIO_DWAPB
 	tristate "Synopsys DesignWare APB GPIO driver"
-	depends on ARM
+	depends on ARM || ARM64
 	depends on OF_GPIO
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
-- 
1.9.1





More information about the kernel-team mailing list