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>
This commit is contained in:
Linus Walleij 2018-12-22 11:15:04 +01:00
parent 642fb53d35
commit 2dab3dd1fa
1 changed files with 1 additions and 0 deletions

View 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