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

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Apr 12 12:34:04 UTC 2019


Hello,

On Fri, Apr 12, 2019 at 12:59:53PM +0200, Bartlomiej Zolnierkiewicz wrote:
> 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

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/  |


More information about the dri-devel mailing list