aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/cpm_uart
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/cpm_uart
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/cpm_uart')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index 7a3b97fdf8d1..f23972bc00c0 100644
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -934,7 +934,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
934 .irq = SMC1_IRQ, 934 .irq = SMC1_IRQ,
935 .ops = &cpm_uart_pops, 935 .ops = &cpm_uart_pops,
936 .iotype = UPIO_MEM, 936 .iotype = UPIO_MEM,
937 .lock = SPIN_LOCK_UNLOCKED, 937 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SMC1].port.lock),
938 }, 938 },
939 .flags = FLAG_SMC, 939 .flags = FLAG_SMC,
940 .tx_nrfifos = TX_NUM_FIFO, 940 .tx_nrfifos = TX_NUM_FIFO,
@@ -948,7 +948,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
948 .irq = SMC2_IRQ, 948 .irq = SMC2_IRQ,
949 .ops = &cpm_uart_pops, 949 .ops = &cpm_uart_pops,
950 .iotype = UPIO_MEM, 950 .iotype = UPIO_MEM,
951 .lock = SPIN_LOCK_UNLOCKED, 951 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SMC2].port.lock),
952 }, 952 },
953 .flags = FLAG_SMC, 953 .flags = FLAG_SMC,
954 .tx_nrfifos = TX_NUM_FIFO, 954 .tx_nrfifos = TX_NUM_FIFO,
@@ -965,7 +965,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
965 .irq = SCC1_IRQ, 965 .irq = SCC1_IRQ,
966 .ops = &cpm_uart_pops, 966 .ops = &cpm_uart_pops,
967 .iotype = UPIO_MEM, 967 .iotype = UPIO_MEM,
968 .lock = SPIN_LOCK_UNLOCKED, 968 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SCC1].port.lock),
969 }, 969 },
970 .tx_nrfifos = TX_NUM_FIFO, 970 .tx_nrfifos = TX_NUM_FIFO,
971 .tx_fifosize = TX_BUF_SIZE, 971 .tx_fifosize = TX_BUF_SIZE,
@@ -979,7 +979,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
979 .irq = SCC2_IRQ, 979 .irq = SCC2_IRQ,
980 .ops = &cpm_uart_pops, 980 .ops = &cpm_uart_pops,
981 .iotype = UPIO_MEM, 981 .iotype = UPIO_MEM,
982 .lock = SPIN_LOCK_UNLOCKED, 982 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SCC2].port.lock),
983 }, 983 },
984 .tx_nrfifos = TX_NUM_FIFO, 984 .tx_nrfifos = TX_NUM_FIFO,
985 .tx_fifosize = TX_BUF_SIZE, 985 .tx_fifosize = TX_BUF_SIZE,
@@ -993,7 +993,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
993 .irq = SCC3_IRQ, 993 .irq = SCC3_IRQ,
994 .ops = &cpm_uart_pops, 994 .ops = &cpm_uart_pops,
995 .iotype = UPIO_MEM, 995 .iotype = UPIO_MEM,
996 .lock = SPIN_LOCK_UNLOCKED, 996 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SCC3].port.lock),
997 }, 997 },
998 .tx_nrfifos = TX_NUM_FIFO, 998 .tx_nrfifos = TX_NUM_FIFO,
999 .tx_fifosize = TX_BUF_SIZE, 999 .tx_fifosize = TX_BUF_SIZE,
@@ -1007,7 +1007,7 @@ struct uart_cpm_port cpm_uart_ports[UART_NR] = {
1007 .irq = SCC4_IRQ, 1007 .irq = SCC4_IRQ,
1008 .ops = &cpm_uart_pops, 1008 .ops = &cpm_uart_pops,
1009 .iotype = UPIO_MEM, 1009 .iotype = UPIO_MEM,
1010 .lock = SPIN_LOCK_UNLOCKED, 1010 .lock = __SPIN_LOCK_UNLOCKED(cpm_uart_ports[UART_SCC4].port.lock),
1011 }, 1011 },
1012 .tx_nrfifos = TX_NUM_FIFO, 1012 .tx_nrfifos = TX_NUM_FIFO,
1013 .tx_fifosize = TX_BUF_SIZE, 1013 .tx_fifosize = TX_BUF_SIZE,