diff options
Diffstat (limited to 'drivers/serial/s3c2410.c')
-rw-r--r-- | drivers/serial/s3c2410.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 3ba9208ebd0c..10bc0209cd66 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
@@ -957,7 +957,7 @@ static struct uart_driver s3c24xx_uart_drv = { | |||
957 | static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = { | 957 | static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = { |
958 | [0] = { | 958 | [0] = { |
959 | .port = { | 959 | .port = { |
960 | .lock = SPIN_LOCK_UNLOCKED, | 960 | .lock = __SPIN_LOCK_UNLOCKED(s3c24xx_serial_ports[0].port.lock), |
961 | .iotype = UPIO_MEM, | 961 | .iotype = UPIO_MEM, |
962 | .irq = IRQ_S3CUART_RX0, | 962 | .irq = IRQ_S3CUART_RX0, |
963 | .uartclk = 0, | 963 | .uartclk = 0, |
@@ -969,7 +969,7 @@ static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = { | |||
969 | }, | 969 | }, |
970 | [1] = { | 970 | [1] = { |
971 | .port = { | 971 | .port = { |
972 | .lock = SPIN_LOCK_UNLOCKED, | 972 | .lock = __SPIN_LOCK_UNLOCKED(s3c24xx_serial_ports[1].port.lock), |
973 | .iotype = UPIO_MEM, | 973 | .iotype = UPIO_MEM, |
974 | .irq = IRQ_S3CUART_RX1, | 974 | .irq = IRQ_S3CUART_RX1, |
975 | .uartclk = 0, | 975 | .uartclk = 0, |
@@ -983,7 +983,7 @@ static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = { | |||
983 | 983 | ||
984 | [2] = { | 984 | [2] = { |
985 | .port = { | 985 | .port = { |
986 | .lock = SPIN_LOCK_UNLOCKED, | 986 | .lock = __SPIN_LOCK_UNLOCKED(s3c24xx_serial_ports[2].port.lock), |
987 | .iotype = UPIO_MEM, | 987 | .iotype = UPIO_MEM, |
988 | .irq = IRQ_S3CUART_RX2, | 988 | .irq = IRQ_S3CUART_RX2, |
989 | .uartclk = 0, | 989 | .uartclk = 0, |