summaryrefslogtreecommitdiff
path: root/libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch
blob: 28cccb9747f615be9998739887620a30229d6abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 2bfe405..aa39188 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -1228,7 +1228,7 @@ static phys_addr_t arm_smmu_iova_to_phys_hard(struct iommu_domain *domain,
 		dev_err(dev,
 			"iova to phys timed out on %pad. Falling back to software table walk.\n",
 			&iova);
-		return iop->ops->iova_to_phys(ops, iova);
+		return iop->ops->iova_to_phys(iop, iova);
 	}
 
 	phys = readl_relaxed(cb_base + ARM_SMMU_CB_PAR_LO);