]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: imx: add missing linux/bug.h header for WARN
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 7 Jun 2025 21:11:17 +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/clk/imx/clk-fracn-gppll.c

index 81e19d393cf20cf57380c56397d8d091b181af3d..b3926564a2268a32e8f25f85c16f9b22eb7de331 100644 (file)
@@ -10,6 +10,7 @@
 #include <dm/devres.h>
 #include <linux/bitfield.h>
 #include <linux/bitops.h>
+#include <linux/bug.h>
 #include <linux/clk-provider.h>
 #include <linux/delay.h>
 #include <linux/err.h>