summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-01-31 08:58:34 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 10:11:28 -0800
commiteb1527a8738bcfe12a42475aeef105914d63615a (patch)
treec5f14d371942d1c76052c43af20e2e9a468f1e21 /drivers/tty
parentb7396a38fb28db4ebbbf35da1057eb5206b4ad6c (diff)
downloadop-kernel-dev-eb1527a8738bcfe12a42475aeef105914d63615a.zip
op-kernel-dev-eb1527a8738bcfe12a42475aeef105914d63615a.tar.gz
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 <fengguang.wu@intel.com> Cc: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index 57d13b0..46ae9fd 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);
OpenPOWER on IntegriCloud