* [PATCH] MIPS: RB532: serial: statify setup_serial_port()
@ 2026-04-30 11:24 Bartosz Golaszewski
0 siblings, 0 replies; only message in thread
From: Bartosz Golaszewski @ 2026-04-30 11:24 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: brgl, linux-mips, linux-kernel, Bartosz Golaszewski
This function is not used outside of this compilation unit so make it
static.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
arch/mips/rb532/serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/rb532/serial.c b/arch/mips/rb532/serial.c
index 70482540b3dbc..228eff07e5e85 100644
--- a/arch/mips/rb532/serial.c
+++ b/arch/mips/rb532/serial.c
@@ -45,7 +45,7 @@ static struct uart_port rb532_uart = {
.regshift = 2
};
-int __init setup_serial_port(void)
+static int __init setup_serial_port(void)
{
rb532_uart.uartclk = idt_cpu_freq;
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-30 11:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 11:24 [PATCH] MIPS: RB532: serial: statify setup_serial_port() Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox