pinctrl: pinctrl-microchip-sgpio: Add OF config dependency
authorLars Povlsen <lars.povlsen@microchip.com>
Wed, 25 Nov 2020 12:20:14 +0000 (13:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2020 23:09:48 +0000 (00:09 +0100)
The pinctrl-microchip-sgpio driver needs OF support, so add that to
Kconfig.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20201125122014.11237-1-lars.povlsen@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index 9b8ed7516355cd9b9b6106915f721fa8f7125d88..94e49da49f5c5b2256866fb64fe2c83484195c45 100644 (file)
@@ -376,11 +376,13 @@ config PINCTRL_OCELOT
 
 config PINCTRL_MICROCHIP_SGPIO
        bool "Pinctrl driver for Microsemi/Microchip Serial GPIO"
+       depends on OF
        depends on HAS_IOMEM
        select GPIOLIB
        select GENERIC_PINCONF
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
+       select OF_GPIO
        help
          Support for the serial GPIO interface used on Microsemi and
          Microchip SoC's. By using a serial interface, the SIO