summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-11-27 02:18:35 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-01-08 10:29:33 +0200
commit0eceb4ba484c548a3b33982ff620d8a7354c9e68 (patch)
treec7c3f6769fe27494d645da8ea4fef12928b97717
parent802eee95bde72fd0cd0f3a5b2098375a487d1eda (diff)
fbdev: sh-mobile-lcdcfb: Enable driver compilation with COMPILE_TEST
This helps increasing build testing coverage. Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-fbdev@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/Kconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 4f2e1b35eb38..2aceb0858da0 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -10,7 +10,8 @@ config HAVE_FB_ATMEL
config SH_MIPI_DSI
tristate
- depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
+ depends on HAVE_CLK
+ depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
config SH_LCD_MIPI_DSI
bool
@@ -1997,7 +1998,8 @@ config FB_W100
config FB_SH_MOBILE_LCDC
tristate "SuperH Mobile LCDC framebuffer support"
- depends on FB && (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
+ depends on FB && HAVE_CLK
+ depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
select FB_SYS_FILLRECT
select FB_SYS_COPYAREA
select FB_SYS_IMAGEBLIT
@@ -2484,7 +2486,7 @@ endif
config FB_SH_MOBILE_MERAM
tristate "SuperH Mobile MERAM read ahead support"
- depends on (SUPERH || ARCH_SHMOBILE)
+ depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
select GENERIC_ALLOCATOR
---help---
Enable MERAM support for the SuperH controller.