Message ID | 1450778671-21134-3-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show |
On 22 December 2015 at 03:04, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > 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> > --- > > include/clk.h | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Simon Glass <sjg@chromium.org>
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 {
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> --- include/clk.h | 4 ++++ 1 file changed, 4 insertions(+)