diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-01-13 13:16:09 +0900 | 
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2016-01-20 19:06:23 -0700 | 
| commit | ad1cf785853eef60e48053ead4fbb47dad840d55 (patch) | |
| tree | b7e212c9089573f138f37a1c3529b928f0ff84dd | |
| parent | 8bdf9cfda04896c3ff6d704f398395776b69cba8 (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>
| -rw-r--r-- | include/clk.h | 4 | 
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 { | 
