diff options
-rw-r--r-- | drivers/iommu/shmobile-ipmmu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/shmobile-ipmmu.c b/drivers/iommu/shmobile-ipmmu.c index e3bc2e19b6dd..6ba611002c6f 100644 --- a/drivers/iommu/shmobile-ipmmu.c +++ b/drivers/iommu/shmobile-ipmmu.c | |||
@@ -117,8 +117,7 @@ static int ipmmu_probe(struct platform_device *pdev) | |||
117 | platform_set_drvdata(pdev, ipmmu); | 117 | platform_set_drvdata(pdev, ipmmu); |
118 | ipmmu_reg_write(ipmmu, IMCTR1, 0x0); /* disable TLB */ | 118 | ipmmu_reg_write(ipmmu, IMCTR1, 0x0); /* disable TLB */ |
119 | ipmmu_reg_write(ipmmu, IMCTR2, 0x0); /* disable PMB */ | 119 | ipmmu_reg_write(ipmmu, IMCTR2, 0x0); /* disable PMB */ |
120 | ipmmu_iommu_init(ipmmu); | 120 | return ipmmu_iommu_init(ipmmu); |
121 | return 0; | ||
122 | } | 121 | } |
123 | 122 | ||
124 | static struct platform_driver ipmmu_driver = { | 123 | static struct platform_driver ipmmu_driver = { |