arm: socfpga: Fixes: include <debug_uart.h>
Subsystems (3)
Marek Vasut
AppliedPATCH 1/1 arm: socfpga: Fixes: include <debug_uart.h>
In reply to Ley Foon TanQuoted 17 lines · Ley Foon Tan
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 <[email protected]>--- arch/arm/mach-socfpga/spl_s10.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-socfpga/spl_s10.c +0
-0
arch/arm/mach-socfpga/spl_s10.c line 14
Quoted 7 lines
arch/arm/mach-socfpga/spl_s10.c +1
-0@@ -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
Signature · 2 lines
Best regards, Marek Vasut
PATCH 1/1 arm: socfpga: Fixes: include <debug_uart.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 <[email protected]>
--- arch/arm/mach-socfpga/spl_s10.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/spl_s10.c +1 -0
@@ -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>
Signature · 1 line
2.7.4