summaryrefslogtreecommitdiff
path: root/libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch')
-rw-r--r--libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch b/libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch
new file mode 100644
index 000000000..28cccb974
--- /dev/null
+++ b/libre/linux-libre-grsec/0001-ARM-fix-ops-undeclared-first-use-in-this-function.patch
@@ -0,0 +1,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);