aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2016-01-28 20:44:30 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-02-10 11:08:31 +0100
commit409d87838d5755b471933fb2a43f2dfc514ccd2d (patch)
tree9ca034311f4b69d45be44efd3fbdb31292b7554e /drivers/gpio/Kconfig
parentgpio: ath79: Move to the generic GPIO driver (diff)
downloadlinux-dev-409d87838d5755b471933fb2a43f2dfc514ccd2d.tar.xz
linux-dev-409d87838d5755b471933fb2a43f2dfc514ccd2d.zip
gpio: ath79: Allow building in compile tests
To allow building the driver in compile tests we must drop the dependency on asm/mach-ath79/ar71xx_regs.h. For this we replace the include with local definition of the registers needed for this driver. Signed-off-by: Alban Bedel <albeu@free.fr> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 020a44a52331..3c1bb917dd72 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -129,7 +129,7 @@ config GPIO_AMDPT
config GPIO_ATH79
tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
default y if ATH79
- depends on ATH79
+ depends on ATH79 || COMPILE_TEST
select GPIO_GENERIC
help
Select this option to enable GPIO driver for