Skip to contentSkip to conversation

gpio: mxc: Add COMPILE_TEST support for GPIO_MXC

PATCH In review Anson Huang 2 participants 2 messages Mar 7, 2020 – Mar 11, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: mxc: Add COMPILE_TEST support for GPIO_MXC

Add COMPILE_TEST support to GPIO_MXC driver for better compile testing coverage.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index b8013cf..b411226 100644
@@ -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
 
Signature · 1 line
2.7.4
#1 lore raw

sob., 7 mar 2020 o 14:38 Anson Huang <[email protected]> napisał(a):

Quoted 23 lines

Add COMPILE_TEST support to GPIO_MXC driver for better compile testing coverage.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -2
index b8013cf..b411226 100644
@@ -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
 
--
Quoted 2 lines

2.7.4

Patch applied, thanks!

Bartosz