serial: 8250: pericom_do_set_divisor can be static
authorkbuild test robot <lkp@intel.com>
Tue, 18 Jun 2019 11:23:51 +0000 (19:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 11:37:57 +0000 (13:37 +0200)
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>
drivers/tty/serial/8250/8250_pci.c

index 7ba1c3b..7f740b3 100644 (file)
@@ -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)
 {