]> Git Repo - linux.git/commitdiff
pinctrl: Add some depends on HAS_IOMEM
authorLinus Walleij <[email protected]>
Mon, 13 Nov 2017 10:04:27 +0000 (11:04 +0100)
committerLinus Walleij <[email protected]>
Mon, 13 Nov 2017 21:28:26 +0000 (22:28 +0100)
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 <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Reported-by: R. Daneel Olivaw <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
drivers/pinctrl/Kconfig

index 92bf1a06162c889173544d467de594c8df3e10d2..f5ca67caac4199a7cd4033f905958f3468b9d0c6 100644 (file)
@@ -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
This page took 0.047939 seconds and 4 git commands to generate.