[U-Boot] [PATCH] clk.h: Add <asm/errno.h>

Tom Rini trini at konsulko.com
Wed Sep 21 23:57:24 CEST 2016


Since we return -ENOSYS in some cases we must have <asm/errno.>
available.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/clk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/clk.h b/include/clk.h
index 9b2452268d40..94c003714700 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -10,6 +10,7 @@
 #define _CLK_H_
 
 #include <linux/types.h>
+#include <asm/errno.h>
 
 /**
  * A clock is a hardware signal that oscillates autonomously at a specific
-- 
1.9.1



More information about the U-Boot mailing list