aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/bfin_sport_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/bfin_sport_uart.c')
-rw-r--r--drivers/tty/serial/bfin_sport_uart.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c
index 6b03fb12cd19..4ccca5d22f4f 100644
--- a/drivers/tty/serial/bfin_sport_uart.c
+++ b/drivers/tty/serial/bfin_sport_uart.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0+
1/* 2/*
2 * Blackfin On-Chip Sport Emulated UART Driver 3 * Blackfin On-Chip Sport Emulated UART Driver
3 * 4 *
4 * Copyright 2006-2009 Analog Devices Inc. 5 * Copyright 2006-2009 Analog Devices Inc.
5 * 6 *
6 * Enter bugs at http://blackfin.uclinux.org/ 7 * Enter bugs at http://blackfin.uclinux.org/
7 *
8 * Licensed under the GPL-2 or later.
9 */ 8 */
10 9
11/* 10/*
@@ -584,7 +583,7 @@ static void sport_set_termios(struct uart_port *port,
584 spin_unlock_irqrestore(&up->port.lock, flags); 583 spin_unlock_irqrestore(&up->port.lock, flags);
585} 584}
586 585
587struct uart_ops sport_uart_ops = { 586static const struct uart_ops sport_uart_ops = {
588 .tx_empty = sport_tx_empty, 587 .tx_empty = sport_tx_empty,
589 .set_mctrl = sport_set_mctrl, 588 .set_mctrl = sport_set_mctrl,
590 .get_mctrl = sport_get_mctrl, 589 .get_mctrl = sport_get_mctrl,