From ad1cf785853eef60e48053ead4fbb47dad840d55 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada <yamada.masahiro@socionext.com> Date: Wed, 13 Jan 2016 13:16:09 +0900 Subject: [PATCH] clk: add needed include and declaration to include/clk.h 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/clk.h b/include/clk.h index f2443013b1..371784a56e 100644 --- a/include/clk.h +++ b/include/clk.h @@ -8,6 +8,10 @@ #ifndef _CLK_H_ #define _CLK_H_ +#include <linux/types.h> + +struct udevice; + int soc_clk_dump(void); struct clk_ops { -- 2.39.5