From eb1527a8738bcfe12a42475aeef105914d63615a Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Sat, 31 Jan 2015 08:58:34 +0800 Subject: [PATCH] tty/serial: serial8250_set_divisor() can be static drivers/tty/serial/8250/8250_core.c:2503:6: sparse: symbol 'serial8250_set_divisor' was not declared. Should it be static? Signed-off-by: Fengguang Wu Cc: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index 57d13b058a48..46ae9fda68b6 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c @@ -2500,7 +2500,7 @@ static unsigned char serial8250_compute_lcr(struct uart_8250_port *up, return cval; } -void serial8250_set_divisor(struct uart_port *port, unsigned int baud, +static void serial8250_set_divisor(struct uart_port *port, unsigned int baud, unsigned int quot, unsigned int quot_frac) { struct uart_8250_port *up = up_to_u8250p(port); -- 2.39.2