aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/s3c2410.c
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-05-08 03:30:10 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:11 -0400
commit076fa0fa2d53046d32f5157022d683b8027f05ed (patch)
tree3b9fe38c1772a8c9b5d64bfe4eeb215213368830 /drivers/serial/s3c2410.c
parentccc942567e10d6a5d59c4d57f03d07b4110611ea (diff)
SPIN_LOCK_UNLOCKED cleanup in drivers/serial
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/s3c2410.c')
-rw-r--r--drivers/serial/s3c2410.c6
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 = {
957static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = { 957static 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,