From: Jeroen Hofstee Date: Wed, 8 Oct 2014 20:57:48 +0000 (+0200) Subject: common:console: add missing include X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=482f4691a32d3e738b4948c98a893f7f629984ea;p=u-boot.git 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 --- diff --git a/common/console.c b/common/console.c index 5a2f411600..4695386a33 100644 --- a/common/console.c +++ b/common/console.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -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