]> git.sur5r.net Git - u-boot/commitdiff
clk: add needed include and declaration to include/clk.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Jan 2016 04:16:09 +0000 (13:16 +0900)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:06:23 +0000 (19:06 -0700)
This header uses ulong, so it needs to include <linux/types.h>.
Likewise, "struct udevice" must be declared before it is used.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/clk.h

index f2443013b16e760ce6456fa7c5dc04863cc78ffb..371784a56e0fc54e0a6c084723480603da5d1cb6 100644 (file)
@@ -8,6 +8,10 @@
 #ifndef _CLK_H_
 #define _CLK_H_
 
+#include <linux/types.h>
+
+struct udevice;
+
 int soc_clk_dump(void);
 
 struct clk_ops {