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

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

index d047da3a90cafd3812af606bf9d5e1a353873e0e..e18d9a4441127bbcc2e87dd6fead229c7363e026 100644 (file)
@@ -2058,7 +2058,8 @@ config FB_SH7760
 
 config FB_DA8XX
        tristate "DA8xx/OMAP-L1xx/AM335x Framebuffer support"
-       depends on FB && (ARCH_DAVINCI_DA8XX || SOC_AM33XX)
+       depends on FB && HAVE_CLK && HAS_IOMEM
+       depends on ARCH_DAVINCI_DA8XX || SOC_AM33XX || COMPILE_TEST
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT