aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/shmobile-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/shmobile-iommu.c')
-rw-r--r--drivers/iommu/shmobile-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/shmobile-iommu.c b/drivers/iommu/shmobile-iommu.c
index 7a3b928fad1c..464acda0bbc4 100644
--- a/drivers/iommu/shmobile-iommu.c
+++ b/drivers/iommu/shmobile-iommu.c
@@ -343,7 +343,7 @@ static int shmobile_iommu_add_device(struct device *dev)
343 mapping = archdata->iommu_mapping; 343 mapping = archdata->iommu_mapping;
344 if (!mapping) { 344 if (!mapping) {
345 mapping = arm_iommu_create_mapping(&platform_bus_type, 0, 345 mapping = arm_iommu_create_mapping(&platform_bus_type, 0,
346 L1_LEN << 20, 0); 346 L1_LEN << 20);
347 if (IS_ERR(mapping)) 347 if (IS_ERR(mapping))
348 return PTR_ERR(mapping); 348 return PTR_ERR(mapping);
349 archdata->iommu_mapping = mapping; 349 archdata->iommu_mapping = mapping;