summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2025-06-07 23:11:18 +0200
committerTom Rini <[email protected]>2025-06-14 09:11:10 -0600
commit1f1aafe0b526ae22b0b1673d440c58fa99d5d4bf (patch)
tree885d63a5de7f01ca14cc7186a6bb65a93b18905c
parent7d0f2733797f3c1453e718c3b9f9da3c07708c15 (diff)
iommu: qcom-smmu: add missing linux/bug.h header for WARN_ON
The WARN macro requires inclusion of linux/bug.h header. It does currently work as bitfield.h includes it indirectly but this will change when bitfield.h will be synced with new Linux version. Explicitly include the header to fix future compilation error. Signed-off-by: Christian Marangi <[email protected]>
-rw-r--r--drivers/iommu/qcom-hyp-smmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c
index c1b95bc8b8c..2e51ce4f242 100644
--- a/drivers/iommu/qcom-hyp-smmu.c
+++ b/drivers/iommu/qcom-hyp-smmu.c
@@ -11,6 +11,7 @@
#include <dm.h>
#include <iommu.h>
#include <linux/bitfield.h>
+#include <linux/bug.h>
#include <linux/list.h>
#include <linux/err.h>
#include <lmb.h>