Skip to contentSkip to conversation

gpio: pc104: Add COMPILE_TEST coverage

PATCH In review Rosen Penev 2 participants 2 messages Jul 29 – Aug 3 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gpio: pc104: Add COMPILE_TEST coverage

These drivers used generic APIs and have nothing PC/104 specific that prevents compilation.

Assisted-by Codex:GPT-5.5

---
v2: split up menuconfig patch.

 drivers/gpio/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpio/Kconfig +4 -4
index a7b18fd59110..94ffeb335161 100644
@@ -984,7 +984,7 @@ config GPIO_I8255
 
 config GPIO_104_DIO_48E
 	tristate "ACCES 104-DIO-48E GPIO support"
-	depends on PC104
+	depends on PC104 || COMPILE_TEST
 	select ISA_BUS_API
 	select REGMAP_MMIO
 	select REGMAP_IRQ
@@ -999,7 +999,7 @@ config GPIO_104_DIO_48E
 
 config GPIO_104_IDIO_16
 	tristate "ACCES 104-IDIO-16 GPIO support"
-	depends on PC104
+	depends on PC104 || COMPILE_TEST
 	select ISA_BUS_API
 	select REGMAP_MMIO
 	select GPIO_IDIO_16
@@ -1012,7 +1012,7 @@ config GPIO_104_IDIO_16
 
 config GPIO_104_IDI_48
 	tristate "ACCES 104-IDI-48 GPIO support"
-	depends on PC104
+	depends on PC104 || COMPILE_TEST
 	select ISA_BUS_API
 	select REGMAP_MMIO
 	select REGMAP_IRQ
@@ -1037,7 +1037,7 @@ config GPIO_F7188X
 
 config GPIO_GPIO_MM
 	tristate "Diamond Systems GPIO-MM GPIO support"
-	depends on PC104
+	depends on PC104 || COMPILE_TEST
 	select ISA_BUS_API
 	select REGMAP_MMIO
 	select GPIO_I8255
Signature · 1 line
2.55.0