diff options
| -rw-r--r-- | drivers/tty/serial/serial_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 664c99aeeca5..ce8899c13af3 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c | |||
| @@ -2759,6 +2759,8 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) | |||
| 2759 | 2759 | ||
| 2760 | uart_configure_port(drv, state, uport); | 2760 | uart_configure_port(drv, state, uport); |
| 2761 | 2761 | ||
| 2762 | port->console = uart_console(uport); | ||
| 2763 | |||
| 2762 | num_groups = 2; | 2764 | num_groups = 2; |
| 2763 | if (uport->attr_group) | 2765 | if (uport->attr_group) |
| 2764 | num_groups++; | 2766 | num_groups++; |
