aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-01-16 15:51:57 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-03-02 16:31:49 +0100
commit6df8627609fdc03e0824de47a3a3b8cec7324df5 (patch)
treed245b82f02e5672acd48071c2bd57fe654667425 /drivers
parentvideo: fbdev: sh_mobile_lcdcfb: fix sparse warnings about using incorrect types (diff)
downloadlinux-dev-6df8627609fdc03e0824de47a3a3b8cec7324df5.tar.xz
linux-dev-6df8627609fdc03e0824de47a3a3b8cec7324df5.zip
video: fbdev: sh_mobile_lcdcfb: add COMPILE_TEST support
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbdev/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index f65991a67af2..33dc03bf1e86 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -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