projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdf9cf
)
clk: add needed include and declaration to include/clk.h
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Wed, 13 Jan 2016 04:16:09 +0000
(13:16 +0900)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/include/clk.h
b/include/clk.h
index
f244301
..
371784a
100644
(file)
--- 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 {