diff mbox series

[3/3] gpio: pxa: Add COMPILE_TEST support

Message ID 1590120740-22912-3-git-send-email-yangtiezhu@loongson.cn
State New
Headers show
Series [1/3] gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe() | expand

Commit Message

Tiezhu Yang May 22, 2020, 4:12 a.m. UTC
Add COMPILE_TEST support to the PXA GPIO driver for better compile
testing coverage.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski May 25, 2020, 9:15 a.m. UTC | #1
pt., 22 maj 2020 o 06:12 Tiezhu Yang <yangtiezhu@loongson.cn> napisaƂ(a):
>
> Add COMPILE_TEST support to the PXA GPIO driver for better compile
> testing coverage.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 03c01f4..5e90aad 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -439,7 +439,7 @@ config GPIO_PMIC_EIC_SPRD
>
>  config GPIO_PXA
>         bool "PXA GPIO support"
> -       depends on ARCH_PXA || ARCH_MMP
> +       depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
>         help
>           Say yes here to support the PXA GPIO device
>
> --
> 2.1.0
>

Patch applied.

Bart
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 03c01f4..5e90aad 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -439,7 +439,7 @@  config GPIO_PMIC_EIC_SPRD
 
 config GPIO_PXA
 	bool "PXA GPIO support"
-	depends on ARCH_PXA || ARCH_MMP
+	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
 	help
 	  Say yes here to support the PXA GPIO device