]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: ocelot: Add dependency on HAS_IOMEM
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 22 Dec 2018 10:15:04 +0000 (11:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 22 Dec 2018 10:15:04 +0000 (11:15 +0100)
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>
drivers/pinctrl/Kconfig

index a80fca28dc48cec093af93e2b3a3165c880c11b5..2764d713fea8b37928d44110d3894e12f3e3eff3 100644 (file)
@@ -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