diff options
author | Hiroshi DOYU <hdoyu@nvidia.com> | 2011-12-27 10:02:07 +0200 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-01-12 09:12:23 -0800 |
commit | 7fe7ca90275001eda883076ae14cb3821554f465 (patch) | |
tree | c390b4d25927ad44408c6acbd72b5d9f43eecc96 /arch/arm/mach-tegra/devices.c | |
parent | 8aa1dea9a994a46f24ef6eafab249f94234a0da8 (diff) |
arm: tegra: smmu: Set TEGRA_IOMMU_SMMU for platform_device
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>
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index c301654426b5..e055e1d7e84c 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c @@ -1313,7 +1313,7 @@ struct platform_device tegra_gart_device = { }; #endif -#if defined(CONFIG_TEGRA_IOVMM_SMMU) +#if defined(CONFIG_TEGRA_IOVMM_SMMU) || defined(CONFIG_TEGRA_IOMMU_SMMU) static struct resource tegra_smmu_resources[] = { [0] = { .name = "mc", |