Skip to contentSkip to conversation

arm: socfpga: Fixes: include <debug_uart.h>

PATCH New Ley Foon Tan 2 participants 2 messages Jul 12, 2018

Subsystems (3)
lore
Share & tools
lore
Applied
#1 lore raw

PATCH 1/1 arm: socfpga: Fixes: include <debug_uart.h>

In reply to Ley Foon Tan
Quoted 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();

---
 arch/arm/mach-socfpga/spl_s10.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/spl_s10.c +0 -0
index 69c2ee3..69d6e91 100644

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
#0 lore raw

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();

---
 arch/arm/mach-socfpga/spl_s10.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/spl_s10.c +1 -0
index 69c2ee3..69d6e91 100644
@@ -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