[U-Boot] [PATCH 28/49] common:console: add missing include
Jeroen Hofstee
jeroen at myspectrum.nl
Wed Oct 8 22:57:48 CEST 2014
search_device is declared in iomux, but console only
had the definition. This prevents a warning.
Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
---
common/console.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/console.c b/common/console.c
index 5a2f411..4695386 100644
--- a/common/console.c
+++ b/common/console.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <stdarg.h>
+#include <iomux.h>
#include <malloc.h>
#include <os.h>
#include <serial.h>
@@ -621,7 +622,7 @@ inline void dbg(const char *fmt, ...)
}
#else
-inline void dbg(const char *fmt, ...)
+static inline void dbg(const char *fmt, ...)
{
}
#endif
--
2.1.0
More information about the U-Boot
mailing list