From: Bartlomiej Zolnierkiewicz Date: Fri, 7 Jun 2019 12:38:06 +0000 (+0200) Subject: video: fbdev: imxfb: add COMPILE_TEST support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b90b279e87a3cbc55b6976554dc432afdf670124;p=openwrt%2Fstaging%2Fblogic.git video: fbdev: imxfb: add COMPILE_TEST support Add COMPILE_TEST support to imxfb driver for better compile testing coverage. Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: Uwe Kleine-König Cc: NXP Linux Team Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 0f10f39a3ea1..d1d22806e28c 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -331,7 +331,8 @@ config FB_SA1100 config FB_IMX tristate "Freescale i.MX1/21/25/27 LCD support" - depends on FB && ARCH_MXC + depends on FB && HAVE_CLK && HAS_IOMEM + depends on ARCH_MXC || COMPILE_TEST select LCD_CLASS_DEVICE select FB_CFB_FILLRECT select FB_CFB_COPYAREA