]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
iommu: qcom-smmu: add missing linux/bug.h header for WARN_ON
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 7 Jun 2025 21:11:18 +0000 (23:11 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 14 Jun 2025 15:11:10 +0000 (09:11 -0600)
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 <ansuelsmth@gmail.com>
drivers/iommu/qcom-hyp-smmu.c

index c1b95bc8b8ca7463399c9cb801e7a9a6d004af53..2e51ce4f242e44e670c9ba203db575833015e6bd 100644 (file)
@@ -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>