aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/serial/serial_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index bf3c0e32a334..b0bb29d804ae 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -1765,7 +1765,7 @@ static void uart_line_info(struct seq_file *m, struct uart_driver *drv, int i)
1765 1765
1766static int uart_proc_show(struct seq_file *m, void *v) 1766static int uart_proc_show(struct seq_file *m, void *v)
1767{ 1767{
1768 struct tty_driver *ttydrv = v; 1768 struct tty_driver *ttydrv = m->private;
1769 struct uart_driver *drv = ttydrv->driver_state; 1769 struct uart_driver *drv = ttydrv->driver_state;
1770 int i; 1770 int i;
1771 1771