aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada2016-01-13 13:16:09 +0900
committerSimon Glass2016-01-20 19:06:23 -0700
commitad1cf785853eef60e48053ead4fbb47dad840d55 (patch)
treeb7e212c9089573f138f37a1c3529b928f0ff84dd /include
parent8bdf9cfda04896c3ff6d704f398395776b69cba8 (diff)
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')
-rw-r--r--include/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clk.h b/include/clk.h
index f2443013b16..371784a56e0 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 {