Add COMPILE_TEST support to GPIO_MXC driver for better compile
testing coverage.
Signed-off-by: Anson Huang <[email protected]>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b8013cf..b411226 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -394,7 +394,7 @@ config GPIO_MVEBU
config GPIO_MXC
def_bool y
- depends on ARCH_MXC
+ depends on ARCH_MXC || COMPILE_TEST
select GPIO_GENERIC
select GENERIC_IRQ_CHIP
--
2.7.4
sob., 7 mar 2020 o 14:38 Anson Huang <[email protected]> napisaĆ(a):
>
> Add COMPILE_TEST support to GPIO_MXC driver for better compile
> testing coverage.
>
> Signed-off-by: Anson Huang <[email protected]>
> ---
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index b8013cf..b411226 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -394,7 +394,7 @@ config GPIO_MVEBU
>
> config GPIO_MXC
> def_bool y
> - depends on ARCH_MXC
> + depends on ARCH_MXC || COMPILE_TEST
> select GPIO_GENERIC
> select GENERIC_IRQ_CHIP
>
> --
> 2.7.4
>
Patch applied, thanks!
Bartosz