Skip to contentSkip to conversation

auxdisplay: cfag12864bfb: Allow build if COMPILE_TEST is enabled

PATCH New Javier Martinez Canillas 1 participant 1 message Oct 13, 2015 Auxiliary display drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 auxdisplay: cfag12864bfb: Allow build if COMPILE_TEST is enabled

This driver only has a runtime but no build time dependencies so can be built for testing purposes if the Kconfig COMPILE_TEST option is enabled.

This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause a build regression.

---

 drivers/auxdisplay/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/auxdisplay/Kconfig +1 -1
index c07e725ea93d..92a41af264a4 100644
@@ -72,7 +72,7 @@ config KS0108_DELAY
 
 config CFAG12864B
 	tristate "CFAG12864B LCD"
-	depends on X86
+	depends on X86 || COMPILE_TEST
 	depends on FB
 	depends on KS0108
 	select FB_SYS_FILLRECT
Signature · 1 line
2.4.3