Message ID | 1531403064-16849-1-git-send-email-ley.foon.tan@intel.com |
---|---|
State | Accepted |
Commit | aa529663368e97663d7ec16d6997cb69a2dd8afb |
Delegated to: | Marek Vasut |
Headers | show |
Series | [U-Boot] arm: socfpga: Fixes: include <debug_uart.h> | expand |
On 07/12/2018 03:44 PM, Ley Foon Tan wrote: > Fix compilation warning when enable CONFIG_DEBUG_UART. > > arch/arm/mach-socfpga/spl_s10.c: In function ‘board_init_f’: > arch/arm/mach-socfpga/spl_s10.c:146:2: warning: implicit declaration of function ‘debug_uart_init’; did you mean ‘part_init’? [-Wimplicit-function-declaration] > debug_uart_init(); > > Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> > --- > arch/arm/mach-socfpga/spl_s10.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c > index 69c2ee3..69d6e91 100644 > --- a/arch/arm/mach-socfpga/spl_s10.c > +++ b/arch/arm/mach-socfpga/spl_s10.c > @@ -8,6 +8,7 @@ > #include <asm/u-boot.h> > #include <asm/utils.h> > #include <common.h> > +#include <debug_uart.h> > #include <image.h> > #include <spl.h> > #include <asm/arch/clock_manager.h> > Applied, thanks
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c index 69c2ee3..69d6e91 100644 --- a/arch/arm/mach-socfpga/spl_s10.c +++ b/arch/arm/mach-socfpga/spl_s10.c @@ -8,6 +8,7 @@ #include <asm/u-boot.h> #include <asm/utils.h> #include <common.h> +#include <debug_uart.h> #include <image.h> #include <spl.h> #include <asm/arch/clock_manager.h>
Fix compilation warning when enable CONFIG_DEBUG_UART. arch/arm/mach-socfpga/spl_s10.c: In function ‘board_init_f’: arch/arm/mach-socfpga/spl_s10.c:146:2: warning: implicit declaration of function ‘debug_uart_init’; did you mean ‘part_init’? [-Wimplicit-function-declaration] debug_uart_init(); Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> --- arch/arm/mach-socfpga/spl_s10.c | 1 + 1 file changed, 1 insertion(+)