video: fbdev: pxa168fb: add COMPILE_TEST support
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 7 Jun 2019 12:38:06 +0000 (14:38 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 7 Jun 2019 12:38:06 +0000 (14:38 +0200)
Add COMPILE_TEST support to pxa168fb driver for better compile
testing coverage.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/Kconfig

index d1d22806e28c9ceff6d3a18e6d1e50158158b24c..dfe989d817a8ba45f16202345721caba111c82cb 100644 (file)
@@ -1730,7 +1730,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