Thread (3 messages) 3 messages, 3 authors, 2019-04-13

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

From: Uwe Kleine-König <hidden>
Date: 2019-04-12 12:34:22
Also in: dri-devel, linux-arm-kernel

Hello,

On Fri, Apr 12, 2019 at 12:59:53PM +0200, Bartlomiej Zolnierkiewicz wrote:
quoted hunk ↗ jump to hunk
Add COMPILE_TEST support to imxfb driver for better compile
testing coverage.

Signed-off-by: Bartlomiej Zolnierkiewicz <redacted>
---
 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
I think you need something like this instead:

	depends FB && HAVE_CLK && HAS_IOMEM
	depends ARCH_MXC || COMPILE_TEST

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help