]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm/ipmmu-vmsa: Fix compile error
authorJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 11:07:01 +0000 (13:07 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 11:18:18 +0000 (13:18 +0200)
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>
drivers/iommu/ipmmu-vmsa.c

index 95b819a1be6d48a935bf4be6f2f7cd7ef37e2188..53cde086e83bdca67c5b6efe362d5b2bcda8a360 100644 (file)
@@ -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);