diff options
Diffstat (limited to 'drivers/serial/bfin_5xx.c')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index e2f6b1bfac98..d7fcca18223b 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
@@ -1110,6 +1110,7 @@ static void __init bfin_serial_init_ports(void) | |||
1110 | bfin_serial_hw_init(); | 1110 | bfin_serial_hw_init(); |
1111 | 1111 | ||
1112 | for (i = 0; i < nr_active_ports; i++) { | 1112 | for (i = 0; i < nr_active_ports; i++) { |
1113 | spin_lock_init(&bfin_serial_ports[i].port.lock); | ||
1113 | bfin_serial_ports[i].port.uartclk = get_sclk(); | 1114 | bfin_serial_ports[i].port.uartclk = get_sclk(); |
1114 | bfin_serial_ports[i].port.fifosize = BFIN_UART_TX_FIFO_SIZE; | 1115 | bfin_serial_ports[i].port.fifosize = BFIN_UART_TX_FIFO_SIZE; |
1115 | bfin_serial_ports[i].port.ops = &bfin_serial_pops; | 1116 | bfin_serial_ports[i].port.ops = &bfin_serial_pops; |