]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: renesas: Simplify PINCTRL_RZV2M logic
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 26 Jun 2025 13:50:39 +0000 (15:50 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Jul 2025 18:16:45 +0000 (20:16 +0200)
PINCTRL_RZV2M is selected by ARCH_R9A09G011, hence there is no need to
depend on the latter.  Move the dependency on COMPILE_TEST to the symbol
prompt, like is done for all other auto-selected pin control symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/d74843e06f73cd4c6e822d65f606e6042a50a0b7.1750945516.git.geert+renesas@glider.be
drivers/pinctrl/renesas/Kconfig

index b955fe395a65687e89546944e0faf6eed144e604..99ae34a56871c2cd4d2ab1f038d24bce75f81b2a 100644 (file)
@@ -303,9 +303,8 @@ config PINCTRL_RZN1
          This selects pinctrl driver for Renesas RZ/N1 devices.
 
 config PINCTRL_RZV2M
-       bool "pin control support for RZ/V2M"
+       bool "pin control support for RZ/V2M" if COMPILE_TEST
        depends on OF
-       depends on ARCH_R9A09G011 || COMPILE_TEST
        select GPIOLIB
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS