media: omap2: allow building it with COMPILE_TEST && DRM_OMAP
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 17:42:52 +0000 (13:42 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 13:55:38 +0000 (09:55 -0400)
Now that FB_OMAP has stubs, the omap2 media drivers can be
built on ARM with COMPILE_TEST && DRM_OMAP.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/omap/Kconfig

index 27343376f557873cefae916170bee85ad0fea5c7..a414bcbb9b08aa5d6e3ef69e3c87973946d53566 100644 (file)
@@ -5,7 +5,8 @@ config VIDEO_OMAP2_VOUT_VRFB
 
 config VIDEO_OMAP2_VOUT
        tristate "OMAP2/OMAP3 V4L2-Display driver"
-       depends on MMU && FB_OMAP2
+       depends on MMU
+       depends on FB_OMAP2 || COMPILE_TEST
        depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST
        select VIDEOBUF_GEN
        select VIDEOBUF_DMA_CONTIG