gpio: dwapb: remove dependencies
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Apr 2015 08:32:50 +0000 (10:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Apr 2015 08:35:32 +0000 (10:35 +0200)
The Synopsys DesignWare DWAPB GPIO block is popular to
synthesize amongst many architectures: X86, ARM, ARC.
The driver was restricted to only these archs due to
using [read|write]l_relaxed() accessors that were not
universally available in the past,
but as of commit 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0
"asm-generic: io: implement relaxed accessor macros as
conditional wrappers" these accessors are available on all
archs so this should not be a problem any more. Enable the
driver for all archs.

Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 5b821a1897800132b9b729dbb2a9463376183d5a..17b72729ed3c99a92debb058e73c7a37bfaa7ffd 100644 (file)
@@ -142,7 +142,6 @@ config GPIO_DAVINCI
 
 config GPIO_DWAPB
        tristate "Synopsys DesignWare APB GPIO driver"
-       depends on ((ARC || ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK
        select GPIO_GENERIC
        select GENERIC_IRQ_CHIP
        help
This page took 0.024664 seconds and 5 git commands to generate.