arm: tegra: p1852: Add IOMMU_SMMU support
Hiroshi DOYU [Fri, 6 Jul 2012 07:24:56 +0000 (10:24 +0300)]
Migrating from IOVMM_SMMU to IOMMU_SMMU.

Change-Id: If5bca4a3bce15d59641f11dfea3ad6da2a8efbf5
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/114211
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

arch/arm/mach-tegra/board-p1852.c

index f181ea4..ce7768e 100644 (file)
@@ -349,7 +349,7 @@ static struct platform_device tegra_camera = {
 };
 
 static struct platform_device *p1852_devices[] __initdata = {
-#if defined(CONFIG_TEGRA_IOVMM_SMMU)
+#if defined(CONFIG_TEGRA_IOVMM_SMMU) || defined(CONFIG_TEGRA_IOMMU_SMMU)
        &tegra_smmu_device,
 #endif
 #if defined(CONFIG_TEGRA_AVP)