summaryrefslogtreecommitdiff
path: root/include/clk.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-13 13:16:09 +0900
committerSimon Glass <sjg@chromium.org>2016-01-20 19:06:23 -0700
commitad1cf785853eef60e48053ead4fbb47dad840d55 (patch)
treeb7e212c9089573f138f37a1c3529b928f0ff84dd /include/clk.h
parent8bdf9cfda04896c3ff6d704f398395776b69cba8 (diff)
downloadu-boot-imx-ad1cf785853eef60e48053ead4fbb47dad840d55.zip
u-boot-imx-ad1cf785853eef60e48053ead4fbb47dad840d55.tar.gz
u-boot-imx-ad1cf785853eef60e48053ead4fbb47dad840d55.tar.bz2
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>
Diffstat (limited to 'include/clk.h')
-rw-r--r--include/clk.h4
1 files changed, 4 insertions, 0 deletions
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 <linux/types.h>
+
+struct udevice;
+
int soc_clk_dump(void);
struct clk_ops {