Skip to content

Commit

Permalink
tty/serial: serial8250_set_divisor() can be static
Browse files Browse the repository at this point in the history
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 <fengguang.wu@intel.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
kbuild test robot authored and gregkh committed Feb 2, 2015
1 parent b7396a3 commit eb1527a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/8250/8250_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eb1527a

Please sign in to comment.