[PATCH v3 2/5] clk: imx: add missing linux/bug.h header for WARN
Christian Marangi
ansuelsmth at gmail.com
Fri Jun 6 09:21:31 CEST 2025
The WARN macro requires inclusion of linux/bug.h header. It did
previously work as bitfield.h included it indirectly but now this has
changed.
Explicitly include the header to fix compilation error.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
drivers/clk/imx/clk-fracn-gppll.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
index 81e19d393cf..b3926564a22 100644
--- a/drivers/clk/imx/clk-fracn-gppll.c
+++ b/drivers/clk/imx/clk-fracn-gppll.c
@@ -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>
--
2.48.1
More information about the U-Boot
mailing list