diff mbox series

[v2] video: fbdev: pxa168fb: add COMPILE_TEST support

Message ID 1059f924-7bbb-37b1-42ee-52cad878f572@samsung.com (mailing list archive)
State New, archived
Headers show
Series [v2] video: fbdev: pxa168fb: add COMPILE_TEST support | expand

Commit Message

Bartlomiej Zolnierkiewicz May 21, 2019, 10:49 a.m. UTC
Add COMPILE_TEST support to pxa168fb driver for better compile
testing coverage.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
v2: add missing HAVE_CLK && HAS IOMEM dependencies

 drivers/video/fbdev/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Bartlomiej Zolnierkiewicz June 7, 2019, 12:29 p.m. UTC | #1
On 5/21/19 12:49 PM, Bartlomiej Zolnierkiewicz wrote:
> Add COMPILE_TEST support to pxa168fb driver for better compile
> testing coverage.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

I queued the patch for v5.3.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
diff mbox series

Patch

Index: b/drivers/video/fbdev/Kconfig
===================================================================
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -1729,7 +1729,8 @@  config FB_68328
 
 config FB_PXA168
 	tristate "PXA168/910 LCD framebuffer support"
-	depends on FB && (CPU_PXA168 || CPU_PXA910)
+	depends on FB && HAVE_CLK && HAS_IOMEM
+	depends on CPU_PXA168 || CPU_PXA910 || COMPILE_TEST
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT