pinctrl: actions: Add depends on || COMPILE_TEST
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 12 Feb 2021 08:11:48 +0000 (09:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 12 Feb 2021 12:44:26 +0000 (13:44 +0100)
I happened to apply the v1 of the patch restriction the
selection to ARM or ARM64, sorry for my sloppiness.
Fixing up the mistake as I can't back the patch out now.

Fixes: 5784921f7b6c ("pinctrl: actions: Add the platform dependency to drivers")
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/Kconfig

index 8bb8345b17daa83f28a13620edd6a2335ed766a7..119f0e471efd2b8225956d6db42b8836114beb1d 100644 (file)
@@ -12,21 +12,21 @@ config PINCTRL_OWL
 
 config PINCTRL_S500
        bool "Actions Semi S500 pinctrl driver"
-       depends on ARM
+       depends on ARM || COMPILE_TEST
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S500 pinctrl driver
 
 config PINCTRL_S700
        bool "Actions Semi S700 pinctrl driver"
-       depends on ARM64
+       depends on ARM64 || COMPILE_TEST
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S700 pinctrl driver
 
 config PINCTRL_S900
        bool "Actions Semi S900 pinctrl driver"
-       depends on ARM64
+       depends on ARM64 || COMPILE_TEST
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S900 pinctrl driver