]> git.itanic.dy.fi Git - linux-stable/commitdiff
pinctrl: mediatek: remove OF_GPIO as reverse dependency
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 17 Mar 2023 21:29:55 +0000 (00:29 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 19 Mar 2023 20:47:25 +0000 (21:47 +0100)
The OF_GPIO option is enabled by default when GPIOLIB is enabled, and
cannot be disabled. Remove it as a reverse dependency where GPIOLIB is also
set as a reverse dependency.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20230317213011.13656-6-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig

index ba21a599953c48634a91f55696e3d865633f3dc3..ee04b1af36dd5bb2afdaf7b806bdf0dc5d8cc147 100644 (file)
@@ -17,7 +17,6 @@ config PINCTRL_MTK
        select GENERIC_PINCONF
        select GPIOLIB
        select EINT_MTK
-       select OF_GPIO
 
 config PINCTRL_MTK_V2
        tristate
@@ -35,7 +34,6 @@ config PINCTRL_MTK_MOORE
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS
        select GPIOLIB
-       select OF_GPIO
        select EINT_MTK
        select PINCTRL_MTK_V2
 
@@ -46,7 +44,6 @@ config PINCTRL_MTK_PARIS
        select GENERIC_PINCONF
        select GPIOLIB
        select EINT_MTK
-       select OF_GPIO
        select PINCTRL_MTK_V2
 
 # For MIPS SoCs