Fix the build dependency for the PAMU driver. PPC32 build dependecy is 
incorrect.
Add the CORENET_GENERIC build dependency for PAMU driver.

Signed-off-by: Varun Sethi <varun.se...@freescale.com>
---
 drivers/iommu/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 1ae4e54..4ace8db 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -50,7 +50,7 @@ config OF_IOMMU
 
 config FSL_PAMU
        bool "Freescale IOMMU support"
-       depends on PPC32
+       depends on CORENET_GENERIC
        depends on PPC_E500MC || COMPILE_TEST
        select IOMMU_API
        select GENERIC_ALLOCATOR
-- 
1.7.9.5

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to