iommu: omap: add Kconfig OMAP dependency
Ohad Ben-Cohen [Mon, 29 Aug 2011 04:57:44 +0000 (07:57 +0300)]
Make CONFIG_OMAP_IOMMU depend on CONFIG_ARCH_OMAP so other
allmodconfig builds won't fail.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

drivers/iommu/Kconfig

index 37656a5..7cc2d24 100644 (file)
@@ -110,6 +110,7 @@ config INTR_REMAP
 # OMAP IOMMU support
 config OMAP_IOMMU
        bool "OMAP IOMMU Support"
+       depends on ARCH_OMAP
        select IOMMU_API
 
 config OMAP_IOVMM