Message ID | 57884bfc-efc3-371c-f99c-7fd2ed02f5fc@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | video: fbdev: imxfb: add COMPILE_TEST support | expand |
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@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
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
Add COMPILE_TEST support to imxfb driver for better compile testing coverage. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)