diff mbox series

video: fbdev: atmel_lcdfb: add COMPILE_TEST support

Message ID fd1ff7c2-f020-8252-c312-df57137ae79e@samsung.com (mailing list archive)
State New, archived
Headers show
Series video: fbdev: atmel_lcdfb: add COMPILE_TEST support | expand

Commit Message

Bartlomiej Zolnierkiewicz April 12, 2019, 11:29 a.m. UTC
Add COMPILE_TEST support to atmel_lcdfb 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(-)

Comments

Alexandre Belloni April 15, 2019, 3:28 p.m. UTC | #1
On 12/04/2019 13:29:11+0200, Bartlomiej Zolnierkiewicz wrote:
> Add COMPILE_TEST support to atmel_lcdfb driver for better compile
> testing coverage.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.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 13:12:24.000000000 +0200
> +++ b/drivers/video/fbdev/Kconfig	2019-04-12 13:15:03.986235226 +0200
> @@ -859,7 +859,7 @@ config FB_S1D13XXX
>  
>  config FB_ATMEL
>  	tristate "AT91 LCD Controller support"
> -	depends on FB && OF && HAVE_FB_ATMEL
> +	depends on FB && OF && (HAVE_FB_ATMEL || COMPILE_TEST)
>  	select FB_BACKLIGHT
>  	select FB_CFB_FILLRECT
>  	select FB_CFB_COPYAREA
diff mbox series

Patch

Index: b/drivers/video/fbdev/Kconfig
===================================================================
--- a/drivers/video/fbdev/Kconfig	2019-04-12 13:12:24.000000000 +0200
+++ b/drivers/video/fbdev/Kconfig	2019-04-12 13:15:03.986235226 +0200
@@ -859,7 +859,7 @@  config FB_S1D13XXX
 
 config FB_ATMEL
 	tristate "AT91 LCD Controller support"
-	depends on FB && OF && HAVE_FB_ATMEL
+	depends on FB && OF && (HAVE_FB_ATMEL || COMPILE_TEST)
 	select FB_BACKLIGHT
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA