summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:48 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:27:37 -0400
commit482f4691a32d3e738b4948c98a893f7f629984ea (patch)
tree8174bd24433a2245686bdafe87fa31ffd0d8c97a /common/console.c
parent73144dae0baab786550d33f6a115a8514f3a0dfa (diff)
downloadu-boot-imx-482f4691a32d3e738b4948c98a893f7f629984ea.zip
u-boot-imx-482f4691a32d3e738b4948c98a893f7f629984ea.tar.gz
u-boot-imx-482f4691a32d3e738b4948c98a893f7f629984ea.tar.bz2
common:console: add missing include
search_device is declared in iomux, but console only had the definition. This prevents a warning. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c3
1 files changed, 2 insertions, 1 deletions
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