[media] omap: be sure that MMU is there for COMPILE_TEST
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 26 Aug 2014 19:51:56 +0000 (16:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 26 Aug 2014 21:52:20 +0000 (18:52 -0300)
COMPILE_TEST fail on (some) archs without MMU.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap/Kconfig

index 2253bf102ed9f1cffd69b18111f454e1d12be706..05de442d24e42ca6a2273b55271ea8425efb6a73 100644 (file)
@@ -3,7 +3,7 @@ config VIDEO_OMAP2_VOUT_VRFB
 
 config VIDEO_OMAP2_VOUT
        tristate "OMAP2/OMAP3 V4L2-Display driver"
-       depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST
+       depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && HAS_MMU)
        select VIDEOBUF_GEN
        select VIDEOBUF_DMA_CONTIG
        select OMAP2_DSS if HAS_IOMEM && ARCH_OMAP2PLUS