From: Caleb Connolly Date: Wed, 20 Mar 2024 14:30:51 +0000 (+0000) Subject: iommu: qcom-smmu: fix debugging X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=42839c0fdf7893200d214200a1bd539fb4fbdf65;p=u-boot.git 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 Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly Link: https://lore.kernel.org/r/20240320-b4-qcom-usb-v4-5-41be480172e1@linaro.org Signed-off-by: Mattijs Korpershoek --- diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c index 8e5cdb5815..f2b39de56f 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;