]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: Add missing <dm/device.h> to include/clk.h
authorTom Rini <trini@konsulko.com>
Wed, 2 Jul 2025 01:05:33 +0000 (19:05 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 28 Oct 2025 18:12:20 +0000 (12:12 -0600)
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@konsulko.com>
include/clk.h

index f94135ff778a1247694b1252380801ab828b61c7..90b42a618675b85b55c211e0c5bf2637f6bb91f0 100644 (file)
@@ -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>