[PATCH] video: fbdev: imxfb: add COMPILE_TEST support

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Fri Apr 12 10:59:53 UTC 2019


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

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
---
 drivers/video/fbdev/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/video/fbdev/Kconfig
===================================================================
--- a/drivers/video/fbdev/Kconfig	2019-04-12 12:35:07.322174869 +0200
+++ b/drivers/video/fbdev/Kconfig	2019-04-12 12:35:07.306174869 +0200
@@ -334,7 +334,7 @@ config FB_SA1100
 
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
-	depends on FB && ARCH_MXC
+	depends on FB && (ARCH_MXC || COMPILE_TEST)
 	select BACKLIGHT_LCD_SUPPORT
 	select LCD_CLASS_DEVICE
 	select FB_CFB_FILLRECT


More information about the dri-devel mailing list