diff options
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 48538a6d2198..843123acbb8d 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c | |||
@@ -1232,6 +1232,7 @@ static int tegra_smmu_probe(struct platform_device *pdev) | |||
1232 | 1232 | ||
1233 | smmu_debugfs_create(smmu); | 1233 | smmu_debugfs_create(smmu); |
1234 | smmu_handle = smmu; | 1234 | smmu_handle = smmu; |
1235 | bus_set_iommu(&platform_bus_type, &smmu_iommu_ops); | ||
1235 | return 0; | 1236 | return 0; |
1236 | } | 1237 | } |
1237 | 1238 | ||
@@ -1276,7 +1277,6 @@ static struct platform_driver tegra_smmu_driver = { | |||
1276 | 1277 | ||
1277 | static int __devinit tegra_smmu_init(void) | 1278 | static int __devinit tegra_smmu_init(void) |
1278 | { | 1279 | { |
1279 | bus_set_iommu(&platform_bus_type, &smmu_iommu_ops); | ||
1280 | return platform_driver_register(&tegra_smmu_driver); | 1280 | return platform_driver_register(&tegra_smmu_driver); |
1281 | } | 1281 | } |
1282 | 1282 | ||