arm: tegra: smmu: Set TEGRA_IOMMU_SMMU for platform_device
Hiroshi DOYU [Tue, 27 Dec 2011 08:02:07 +0000 (10:02 +0200)]
This platform_device will be used for struct iommu_ops for SMMU in
addition to iovmm-smmu exclusively.

Change-Id: I8a15ba5ce40cd4bd5df255ecbe70a79a33fe8209
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/72216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R0073b9c23357524aef2722f0d9d965544e2c599e

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

index 6cb2ef2..950d3eb 100644 (file)
@@ -584,7 +584,7 @@ static struct platform_device *cardhu_devices[] __initdata = {
        &tegra_pmu_device,
        &tegra_rtc_device,
        &tegra_udc_device,
-#if defined(CONFIG_TEGRA_IOVMM_SMMU)
+#if defined(CONFIG_TEGRA_IOVMM_SMMU) ||  defined(CONFIG_TEGRA_IOMMU_SMMU)
        &tegra_smmu_device,
 #endif
        &tegra_wdt_device,