From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Fri, 18 Dec 2015 20:15:11 +0900 Subject: [U-Boot] [RFC PATCH 2/6] clk: add needed include and declaration to include/clk.h In-Reply-To: <1450437315-26333-1-git-send-email-yamada.masahiro@socionext.com> References: <1450437315-26333-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <1450437315-26333-3-git-send-email-yamada.masahiro@socionext.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This header uses ulong, so it needs to include . Likewise, "struct udevice" must be declared before it is used. Signed-off-by: Masahiro Yamada --- include/clk.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/clk.h b/include/clk.h index f244301..371784a 100644 --- a/include/clk.h +++ b/include/clk.h @@ -8,6 +8,10 @@ #ifndef _CLK_H_ #define _CLK_H_ +#include + +struct udevice; + int soc_clk_dump(void); struct clk_ops { -- 1.9.1