At present clk.h does not build without OF_CONTROL, but it is clearly intended to. Fix it.
Signed-off-by: Simon Glass <s...@chromium.org> --- include/clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clk.h b/include/clk.h index 05c5a79..e6ab934 100644 --- a/include/clk.h +++ b/include/clk.h @@ -8,6 +8,7 @@ #ifndef _CLK_H_ #define _CLK_H_ +#include <errno.h> #include <linux/types.h> struct udevice; @@ -153,7 +154,7 @@ int fdt_clk_get(const void *fdt, int nodeoffset, int index, struct udevice **dev); #else static inline int fdt_clk_get(const void *fdt, int nodeoffset, int index, - struct udevice **dev); + struct udevice **dev) { return -ENOSYS; } -- 2.7.0.rc3.207.g0ac5344 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot