summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-11-13 13:04:27 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-11-14 00:28:26 +0300
commitfd35b2023b617ceadfce679ff091c6f652f7c878 (patch)
treed7cbdf3b233b758e9249ef1566f2470adb8b3b2c /drivers/pinctrl/Kconfig
parent91d2c740f3eac6923a3f692d5dc38570a49f2bdc (diff)
downloadlinux-fd35b2023b617ceadfce679ff091c6f652f7c878.tar.xz
pinctrl: Add some depends on HAS_IOMEM
Some compilation fallout from UM Linux (which does not have IOMEM) makes it necessary to depend on HAS_IOMEM for drivers that doesn't have other factors restricting their selection. Cc: Phil Reid <preid@electromag.com.au> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Reported-by: R. Daneel Olivaw <kbuild-all@01.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 92bf1a06162c..f5ca67caac41 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -98,6 +98,7 @@ config PINCTRL_AT91PIO4
config PINCTRL_AMD
tristate "AMD GPIO pin control"
+ depends on HAS_IOMEM
select GPIOLIB
select GPIOLIB_IRQCHIP
select PINCONF
@@ -201,6 +202,7 @@ config PINCTRL_RZA1
config PINCTRL_SINGLE
tristate "One-register-per-pin type device tree based pinctrl driver"
depends on OF
+ depends on HAS_IOMEM
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
select GENERIC_PINCONF