diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:48 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:27:37 -0400 |
commit | 482f4691a32d3e738b4948c98a893f7f629984ea (patch) | |
tree | 8174bd24433a2245686bdafe87fa31ffd0d8c97a | |
parent | 73144dae0baab786550d33f6a115a8514f3a0dfa (diff) | |
download | u-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>
-rw-r--r-- | common/console.c | 3 |
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 |