Commit fd35b202 authored by Linus Walleij's avatar Linus Walleij

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: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Reported-by: default avatarR. Daneel Olivaw <kbuild-all@01.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 91d2c740
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment