projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73144da
)
common:console: add missing include
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:48 +0000
(22:57 +0200)
committer
Tom Rini
<trini@ti.com>
Sat, 25 Oct 2014 11:27:37 +0000
(07:27 -0400)
search_device is declared in iomux, but console only
had the definition. This prevents a warning.
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
common/console.c
patch
|
blob
|
history
diff --git
a/common/console.c
b/common/console.c
index 5a2f411600280acd5ba435762083f8394da61377..4695386a332ab867c12df32e938d4976ce7f0115 100644
(file)
--- 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