summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-03-17 14:38:11 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-03-19 09:46:05 +0100
commita4dd4ddd4b4f2a7f4e08d29f2c2fa46c8f5ce379 (patch)
tree5997f4f90203b58ad1e0f1c923be48cd5271b778 /drivers/gpio
parent1ecb016e18149a1ea3de7dfd98f60b4b03e5e855 (diff)
gpio: dwapb: enable for Quark
The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark. The patch reenables it for Intel Quark as well. Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is applied only for next version. [1] https://lkml.org/lkml/2015/2/1/217 Fixes: 1972c97db5b0 (gpio: dwapb: fix compile errors) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f9dc19281ac4..9b2d35092cda 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -148,8 +148,7 @@ config GPIO_GENERIC_PLATFORM
config GPIO_DWAPB
tristate "Synopsys DesignWare APB GPIO driver"
- depends on ARM || ARM64
- depends on OF_GPIO
+ depends on ((ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK
select GPIO_GENERIC
select GENERIC_IRQ_CHIP
help