]> git.baikalelectronics.ru Git - kernel.git/commitdiff
video: fbdev: sh_mobile_lcdcfb: add COMPILE_TEST support
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 16 Jan 2020 14:51:57 +0000 (15:51 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:31:49 +0000 (16:31 +0100)
Add COMPILE_TEST support to sh_mobile_lcdcfb driver for better compile
testing coverage.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patchwork.freedesktop.org/patch/msgid/d98fea18-b72e-6d0f-33ac-1421738bd12b@samsung.com
drivers/video/fbdev/Kconfig

index f65991a67af28f931af1178e0f3c3d84985aee5f..33dc03bf1e86b9155f12de3a48eb426deccb0c96 100644 (file)
@@ -1844,7 +1844,8 @@ config FB_W100
 
 config FB_SH_MOBILE_LCDC
        tristate "SuperH Mobile LCDC framebuffer support"
-       depends on FB && (SUPERH || ARCH_RENESAS) && HAVE_CLK
+       depends on FB && HAVE_CLK && HAS_IOMEM
+       depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
        select FB_SYS_FILLRECT
        select FB_SYS_COPYAREA
        select FB_SYS_IMAGEBLIT