summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorkbuild test robot2019-06-18 13:23:51 +0200
committerGreg Kroah-Hartman2019-06-18 13:37:57 +0200
commit607ea69d2621b08b03a5c87de099be68a4e2bcf7 (patch)
tree0de98d35051965fd34668220fa80c34e4b879a7a /drivers/tty
parenttty: serial_core: Set port active bit in uart_port_activate (diff)
downloadkernel-qcow2-linux-607ea69d2621b08b03a5c87de099be68a4e2bcf7.tar.gz
kernel-qcow2-linux-607ea69d2621b08b03a5c87de099be68a4e2bcf7.tar.xz
kernel-qcow2-linux-607ea69d2621b08b03a5c87de099be68a4e2bcf7.zip
serial: 8250: pericom_do_set_divisor can be static
Fixes: 6bf4e42f1d19 ("serial: 8250: Add support for higher baud rates to Pericom chips") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
index 7ba1c3b2381d..7f740b37700b 100644
--- a/drivers/tty/serial/8250/8250_pci.c
+++ b/drivers/tty/serial/8250/8250_pci.c
@@ -1326,7 +1326,7 @@ static int pci_default_setup(struct serial_private *priv,
return setup_port(priv, port, bar, offset, board->reg_shift);
}
-void
+static void
pericom_do_set_divisor(struct uart_port *port, unsigned int baud,
unsigned int quot, unsigned int quot_frac)
{