aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/serial/8250.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 9ccc563d8730..ed593c4b6e7d 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -536,7 +536,7 @@ static unsigned int serial_icr_read(struct uart_8250_port *up, int offset)
536/* 536/*
537 * FIFO support. 537 * FIFO support.
538 */ 538 */
539static inline void serial8250_clear_fifos(struct uart_8250_port *p) 539static void serial8250_clear_fifos(struct uart_8250_port *p)
540{ 540{
541 if (p->capabilities & UART_CAP_FIFO) { 541 if (p->capabilities & UART_CAP_FIFO) {
542 serial_outp(p, UART_FCR, UART_FCR_ENABLE_FIFO); 542 serial_outp(p, UART_FCR, UART_FCR_ENABLE_FIFO);
@@ -551,7 +551,7 @@ static inline void serial8250_clear_fifos(struct uart_8250_port *p)
551 * capability" bit enabled. Note that on XR16C850s, we need to 551 * capability" bit enabled. Note that on XR16C850s, we need to
552 * reset LCR to write to IER. 552 * reset LCR to write to IER.
553 */ 553 */
554static inline void serial8250_set_sleep(struct uart_8250_port *p, int sleep) 554static void serial8250_set_sleep(struct uart_8250_port *p, int sleep)
555{ 555{
556 if (p->capabilities & UART_CAP_SLEEP) { 556 if (p->capabilities & UART_CAP_SLEEP) {
557 if (p->capabilities & UART_CAP_EFR) { 557 if (p->capabilities & UART_CAP_EFR) {
@@ -1424,8 +1424,7 @@ static unsigned int check_modem_status(struct uart_8250_port *up)
1424/* 1424/*
1425 * This handles the interrupt from one port. 1425 * This handles the interrupt from one port.
1426 */ 1426 */
1427static inline void 1427static void serial8250_handle_port(struct uart_8250_port *up)
1428serial8250_handle_port(struct uart_8250_port *up)
1429{ 1428{
1430 unsigned int status; 1429 unsigned int status;
1431 unsigned long flags; 1430 unsigned long flags;
@@ -1719,7 +1718,7 @@ static void serial8250_break_ctl(struct uart_port *port, int break_state)
1719/* 1718/*
1720 * Wait for transmitter & holding register to empty 1719 * Wait for transmitter & holding register to empty
1721 */ 1720 */
1722static inline void wait_for_xmitr(struct uart_8250_port *up, int bits) 1721static void wait_for_xmitr(struct uart_8250_port *up, int bits)
1723{ 1722{
1724 unsigned int status, tmout = 10000; 1723 unsigned int status, tmout = 10000;
1725 1724