MIPS: RB532: serial: statify setup_serial_port()
PATCH 1/1 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 <[email protected]>
--- arch/mips/rb532/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/rb532/serial.c +1 -1
@@ -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;
Signature · 1 line
2.47.3
Quoted 23 lines · Bartosz Golaszewski
This function is not used outside of this compilation unit so make it static.
Signed-off-by Bartosz Golaszewski <[email protected]>--- arch/mips/rb532/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/mips/rb532/serial.c +1
-1@@ -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;Signature · 1 line
2.47.3
applied to mips-next
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]