remoteproc: omap: depend on OMAP_MBOX_FWK
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 16:53:18 +0000 (17:53 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Feb 2013 12:16:11 +0000 (13:16 +0100)
Patch a62a6e98 "ARM: OMAP2+: Disable code that currently does not work
with multiplaform" makes the OMAP_MBOX_FWK option depend on !MULTIPLATFORM,
which means we cannot simply select that symbol from OMAP_REMOTEPROC.

Turning the 'select' into 'depends on' ensures that all dependencies
are correct until OMAP_MBOX_FWK loses its dependency.

Without this patch, building allmodconfig results in:

drivers/remoteproc/omap_remoteproc.c:31:26: fatal error: plat/mailbox.h: No such file or directory

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/Kconfig

index 96ce101b906753c703cf88c1c76d6a7e9a33e826..c0c37b5253037f9c86436e5230d57b8d5c3f7e34 100644 (file)
@@ -14,8 +14,8 @@ config OMAP_REMOTEPROC
        depends on HAS_DMA
        depends on ARCH_OMAP4
        depends on OMAP_IOMMU
+       depends on OMAP_MBOX_FWK
        select REMOTEPROC
-       select OMAP_MBOX_FWK
        select RPMSG
        help
          Say y here to support OMAP's remote processors (dual M3