diff options
| author | Lukasz Czechowski <[email protected]> | 2025-05-20 13:36:39 +0200 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-06-06 17:12:20 +0800 |
| commit | 79d9ac8b13e34f6e70af4f6a513afb8ebde29c98 (patch) | |
| tree | 987b7f75027ae29b77e60bfe2cfe195f426ff275 | |
| parent | b3f69c14187d413610abbc2b82d1a3752cb342c1 (diff) | |
arm: uniphier: Change _debug_uart_putc function to inline
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
| -rw-r--r-- | arch/arm/mach-uniphier/debug-uart/debug-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart.c b/arch/arm/mach-uniphier/debug-uart/debug-uart.c index 6836eb63bfa..1a3e290aa97 100644 --- a/arch/arm/mach-uniphier/debug-uart/debug-uart.c +++ b/arch/arm/mach-uniphier/debug-uart/debug-uart.c @@ -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); |
