提交 720b0cef 编写于 作者: J Joerg Roedel

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: NJoerg Roedel <jroedel@suse.de>
上级 004c5b32
...@@ -1087,7 +1087,7 @@ static int ipmmu_add_device(struct device *dev) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册