From: Bartosz Golaszewski Date: Thu, 30 Apr 2026 11:24:10 +0000 (+0200) Subject: MIPS: RB532: serial: statify setup_serial_port() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c76cde70457d5f4f6809964b3d9d0a6deaed7fc8;p=thirdparty%2Fkernel%2Flinux.git MIPS: RB532: serial: statify setup_serial_port() This function is not used outside of this compilation unit so make it static. Signed-off-by: Bartosz Golaszewski Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/rb532/serial.c b/arch/mips/rb532/serial.c index 70482540b3db..228eff07e5e8 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;