forked from luck/tmp_suning_uos_patched
arm/ipmmu-vmsa: Fix compile error
The function arm_iommu_create_mapping lost the order parameter. Remove it from this IOMMU driver too to make it build. Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
004c5b32fa
commit
720b0cef71
|
@ -1087,7 +1087,7 @@ static int ipmmu_add_device(struct device *dev)
|
|||
struct dma_iommu_mapping *mapping;
|
||||
|
||||
mapping = arm_iommu_create_mapping(&platform_bus_type,
|
||||
SZ_1G, SZ_2G, 0);
|
||||
SZ_1G, SZ_2G);
|
||||
if (IS_ERR(mapping)) {
|
||||
dev_err(mmu->dev, "failed to create ARM IOMMU mapping\n");
|
||||
return PTR_ERR(mapping);
|
||||
|
|
Loading…
Reference in New Issue
Block a user