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>
This commit is contained in:
Masahiro Yamada 2016-01-13 13:16:09 +09:00 committed by Simon Glass
parent 8bdf9cfda0
commit ad1cf78585

View File

@ -8,6 +8,10 @@
#ifndef _CLK_H_
#define _CLK_H_
#include <linux/types.h>
struct udevice;
int soc_clk_dump(void);
struct clk_ops {