summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCaleb Connolly <[email protected]>2024-03-20 14:30:51 +0000
committerMattijs Korpershoek <[email protected]>2024-03-22 10:17:34 +0100
commit42839c0fdf7893200d214200a1bd539fb4fbdf65 (patch)
tree064268492b90ed934c2ce07da79f76f2b26131b9 /drivers
parent304fa0aa445384e5e681a54abf413850591cec10 (diff)
iommu: qcom-smmu: fix debugging
The priv struct was wrong in dump_boot_mappings(). Causing errors when compiling with -DDEBUG. Fix this. Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Caleb Connolly <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iommu/qcom-hyp-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c
index 8e5cdb58155..f2b39de56f4 100644
--- a/drivers/iommu/qcom-hyp-smmu.c
+++ b/drivers/iommu/qcom-hyp-smmu.c
@@ -319,7 +319,7 @@ static int qcom_smmu_connect(struct udevice *dev)
}
#ifdef DEBUG
-static inline void dump_boot_mappings(struct arm_smmu_priv *priv)
+static inline void dump_boot_mappings(struct qcom_smmu_priv *priv)
{
u32 val;
int i;