[media] omap: Fix Kconfig dependencies on OMAP2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 16:46:55 +0000 (14:46 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 16:48:26 +0000 (14:48 -0200)
Resolves the following warning that appears with allmodconfig on -arm:
warning: (VIDEO_OMAP2_VOUT && DRM_OMAP) selects OMAP2_DSS which has unmet direct dependencies (HAS_IOMEM && ARCH_OMAP2PLUS)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap/Kconfig

index 390ab094f9f2389a0d80deb893f6d357199221fd..37ad446b35b309acc1f40099f9e71503785e5640 100644 (file)
@@ -6,7 +6,7 @@ config VIDEO_OMAP2_VOUT
        depends on ARCH_OMAP2 || ARCH_OMAP3
        select VIDEOBUF_GEN
        select VIDEOBUF_DMA_CONTIG
-       select OMAP2_DSS
+       select OMAP2_DSS if HAS_IOMEM && ARCH_OMAP2PLUS
        select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3
        select VIDEO_OMAP2_VOUT_VRFB if VIDEO_OMAP2_VOUT && OMAP2_VRFB
        default n