summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-22 13:15:04 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-12-22 13:15:04 +0300
commit2dab3dd1fac72b982308265cb322e8d47450052b (patch)
tree1620990e32338bc91701a6413c8b3a038ab6be8c /drivers/pinctrl/Kconfig
parent642fb53d350b3ff6a8c85062fcab271d61a56b75 (diff)
downloadlinux-2dab3dd1fac72b982308265cb322e8d47450052b.tar.xz
pinctrl: ocelot: Add dependency on HAS_IOMEM
As usual the build fails on UM Linux because that thing does not have IOMEM. Depend on HAS_IOMEM solves the build problem. Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index a80fca28dc48..2764d713fea8 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -352,6 +352,7 @@ config PINCTRL_RK805
config PINCTRL_OCELOT
bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
depends on OF
+ depends on HAS_IOMEM
select GPIOLIB
select GPIOLIB_IRQCHIP
select GENERIC_PINCONF