]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: RB532: serial: statify setup_serial_port()
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 30 Apr 2026 11:24:10 +0000 (13:24 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 26 May 2026 14:35:36 +0000 (16:35 +0200)
This function is not used outside of this compilation unit so make it
static.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/rb532/serial.c

index 70482540b3dbc7edf469be8e14beb7e37a1f5f68..228eff07e5e85181347d0942520a3b00cd412c56 100644 (file)
@@ -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;