|
@@ -1087,7 +1087,7 @@ static int ipmmu_add_device(struct device *dev)
|
|
|
struct dma_iommu_mapping *mapping;
|
|
struct dma_iommu_mapping *mapping;
|
|
|
|
|
|
|
|
mapping = arm_iommu_create_mapping(&platform_bus_type,
|
|
mapping = arm_iommu_create_mapping(&platform_bus_type,
|
|
|
- SZ_1G, SZ_2G, 0);
|
|
|
|
|
|
|
+ SZ_1G, SZ_2G);
|
|
|
if (IS_ERR(mapping)) {
|
|
if (IS_ERR(mapping)) {
|
|
|
dev_err(mmu->dev, "failed to create ARM IOMMU mapping\n");
|
|
dev_err(mmu->dev, "failed to create ARM IOMMU mapping\n");
|
|
|
return PTR_ERR(mapping);
|
|
return PTR_ERR(mapping);
|