diff options
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index c1386eb255d3..9e1b8652de7f 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1370,6 +1370,8 @@ static struct eg20t_port *pch_uart_init_port(struct pci_dev *pdev, | |||
1370 | priv->port.line = num++; | 1370 | priv->port.line = num++; |
1371 | priv->trigger = PCH_UART_HAL_TRIGGER_M; | 1371 | priv->trigger = PCH_UART_HAL_TRIGGER_M; |
1372 | 1372 | ||
1373 | spin_lock_init(&priv->port.lock); | ||
1374 | |||
1373 | pci_set_drvdata(pdev, priv); | 1375 | pci_set_drvdata(pdev, priv); |
1374 | pch_uart_hal_request(pdev, fifosize, base_baud); | 1376 | pch_uart_hal_request(pdev, fifosize, base_baud); |
1375 | 1377 | ||