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 81e19d3..b392656 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>