summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-06-07 15:38:06 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-06-07 15:38:06 +0300
commitb90b279e87a3cbc55b6976554dc432afdf670124 (patch)
tree29726d37ea6ba7bfa761d65382ac1b367a9092ed
parent59c1ad914ef2d3470f74c626ece9521dbc9645a3 (diff)
downloadlinux-b90b279e87a3cbc55b6976554dc432afdf670124.tar.xz
video: fbdev: imxfb: add COMPILE_TEST support
Add COMPILE_TEST support to imxfb driver for better compile testing coverage. Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: NXP Linux Team <linux-imx@nxp.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r--drivers/video/fbdev/Kconfig3
1 files changed, 2 insertions, 1 deletions
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