Skip to content

Commit

Permalink
arm/ipmmu-vmsa: Fix compile error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joerg Roedel committed May 26, 2014
1 parent 004c5b3 commit 720b0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/ipmmu-vmsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 720b0ce

Please sign in to comment.