diff options
Diffstat (limited to 'drivers/iommu/tegra-gart.c')
-rw-r--r-- | drivers/iommu/tegra-gart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index c16e8fc8a4bd..4c9db62814ff 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c | |||
@@ -398,6 +398,7 @@ static int tegra_gart_probe(struct platform_device *pdev) | |||
398 | do_gart_setup(gart, NULL); | 398 | do_gart_setup(gart, NULL); |
399 | 399 | ||
400 | gart_handle = gart; | 400 | gart_handle = gart; |
401 | bus_set_iommu(&platform_bus_type, &gart_iommu_ops); | ||
401 | return 0; | 402 | return 0; |
402 | 403 | ||
403 | fail: | 404 | fail: |
@@ -450,7 +451,6 @@ static struct platform_driver tegra_gart_driver = { | |||
450 | 451 | ||
451 | static int __devinit tegra_gart_init(void) | 452 | static int __devinit tegra_gart_init(void) |
452 | { | 453 | { |
453 | bus_set_iommu(&platform_bus_type, &gart_iommu_ops); | ||
454 | return platform_driver_register(&tegra_gart_driver); | 454 | return platform_driver_register(&tegra_gart_driver); |
455 | } | 455 | } |
456 | 456 | ||