diff mbox series

pinctrl: actions: Add depends on || COMPILE_TEST

Message ID 20210212081411.50774-1-linus.walleij@linaro.org
State New
Headers show
Series pinctrl: actions: Add depends on || COMPILE_TEST | expand

Commit Message

Linus Walleij Feb. 12, 2021, 8:14 a.m. UTC
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")
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/pinctrl/actions/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Manivannan Sadhasivam Feb. 12, 2021, 9:21 a.m. UTC | #1
On Fri, Feb 12, 2021 at 09:14:11AM +0100, Linus Walleij wrote:
> 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")
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
>  drivers/pinctrl/actions/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/pinctrl/actions/Kconfig b/drivers/pinctrl/actions/Kconfig
> index 8bb8345b17da..119f0e471efd 100644
> --- a/drivers/pinctrl/actions/Kconfig
> +++ b/drivers/pinctrl/actions/Kconfig
> @@ -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
> -- 
> 2.29.2
>
diff mbox series

Patch

diff --git a/drivers/pinctrl/actions/Kconfig b/drivers/pinctrl/actions/Kconfig
index 8bb8345b17da..119f0e471efd 100644
--- a/drivers/pinctrl/actions/Kconfig
+++ b/drivers/pinctrl/actions/Kconfig
@@ -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