From: Linus Walleij Date: Sat, 22 Dec 2018 10:15:04 +0000 (+0100) Subject: pinctrl: ocelot: Add dependency on HAS_IOMEM X-Git-Tag: for-linus-20190104~26^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2dab3dd1fac72b982308265cb322e8d47450052b;p=linux-block.git 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 Signed-off-by: Linus Walleij --- 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