[PATCH 1/3] clk: Add missing <dm/device.h> to include/clk.h

Tom Rini trini at konsulko.com
Wed Jul 2 03:05:33 CEST 2025


In this header we make direct references to some dm/device.h functions
while not including the header directly. Add the missing include.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/clk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/clk.h b/include/clk.h
index f94135ff778a..90b42a618675 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -9,6 +9,7 @@
 #define _CLK_H_
 
 #include <dm/ofnode.h>
+#include <dm/device.h>
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/types.h>
-- 
2.43.0



More information about the U-Boot mailing list