]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: uniphier: Change _debug_uart_putc function to inline
authorLukasz Czechowski <lukasz.czechowski@thaumatec.com>
Tue, 20 May 2025 11:36:39 +0000 (13:36 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 6 Jun 2025 09:12:20 +0000 (17:12 +0800)
Update the definition of _debug_uart_putc to static inline.
This matches the instructions in include/debug_uart.h and
provides consistency with implementations for other platforms.

Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-uniphier/debug-uart/debug-uart.c

index 6836eb63bfacfa34d0dc0a9c7906d62519184b34..1a3e290aa97892d77f62dcc2551cfe12150b2ee7 100644 (file)
@@ -16,7 +16,7 @@
 #define UNIPHIER_UART_LSR              0x14
 #define UNIPHIER_UART_LDR              0x24
 
-static void _debug_uart_putc(int c)
+static inline void _debug_uart_putc(int c)
 {
        void __iomem *base = (void __iomem *)CONFIG_VAL(DEBUG_UART_BASE);