aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Peters <baspeters93@gmail.com>2015-02-04 17:33:00 -0500
committerDavid S. Miller <davem@davemloft.net>2015-02-05 18:40:23 -0500
commitcacccb068ce934fb88afc6bc34fd84f7e85f19d4 (patch)
treeb060fd1aec2de0467c4b9cb16ef553c7c2013ec3
parent50a58b6b1a8aeeb1609e8c0c1fd760ce0e8d37ef (diff)
drivers: isdn: isdnloop: isdnloop.c: Fix brace positions according to CodingStyle specifications.
Signed-off-by: Bas Peters <baspeters93@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/isdn/isdnloop/isdnloop.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/isdn/isdnloop/isdnloop.c b/drivers/isdn/isdnloop/isdnloop.c
index af96317a52ee..e4d36203f3d1 100644
--- a/drivers/isdn/isdnloop/isdnloop.c
+++ b/drivers/isdn/isdnloop/isdnloop.c
@@ -150,8 +150,7 @@ typedef struct isdnloop_stat {
150 int action; 150 int action;
151} isdnloop_stat; 151} isdnloop_stat;
152/* *INDENT-OFF* */ 152/* *INDENT-OFF* */
153static isdnloop_stat isdnloop_stat_table[] = 153static isdnloop_stat isdnloop_stat_table[] = {
154{
155 {"BCON_", ISDN_STAT_BCONN, 1}, /* B-Channel connected */ 154 {"BCON_", ISDN_STAT_BCONN, 1}, /* B-Channel connected */
156 {"BDIS_", ISDN_STAT_BHUP, 2}, /* B-Channel disconnected */ 155 {"BDIS_", ISDN_STAT_BHUP, 2}, /* B-Channel disconnected */
157 {"DCON_", ISDN_STAT_DCONN, 0}, /* D-Channel connected */ 156 {"DCON_", ISDN_STAT_DCONN, 0}, /* D-Channel connected */
@@ -485,8 +484,7 @@ isdnloop_fake(isdnloop_card *card, char *s, int ch)
485 return 0; 484 return 0;
486} 485}
487/* *INDENT-OFF* */ 486/* *INDENT-OFF* */
488static isdnloop_stat isdnloop_cmd_table[] = 487static isdnloop_stat isdnloop_cmd_table[] = {
489{
490 {"BCON_R", 0, 1}, /* B-Channel connect */ 488 {"BCON_R", 0, 1}, /* B-Channel connect */
491 {"BCON_I", 0, 17}, /* B-Channel connect ind */ 489 {"BCON_I", 0, 17}, /* B-Channel connect ind */
492 {"BDIS_R", 0, 2}, /* B-Channel disconnect */ 490 {"BDIS_R", 0, 2}, /* B-Channel disconnect */
@@ -527,10 +525,8 @@ isdnloop_fake_err(isdnloop_card *card)
527 isdnloop_fake(card, "NAK", -1); 525 isdnloop_fake(card, "NAK", -1);
528} 526}
529 527
530static u_char ctable_eu[] = 528static u_char ctable_eu[] = {0x00, 0x11, 0x01, 0x12};
531{0x00, 0x11, 0x01, 0x12}; 529static u_char ctable_1t[] = {0x00, 0x3b, 0x01, 0x3a};
532static u_char ctable_1t[] =
533{0x00, 0x3b, 0x01, 0x3a};
534 530
535/* 531/*
536 * Assemble a simplified cause message depending on the 532 * Assemble a simplified cause message depending on the
@@ -649,10 +645,8 @@ isdnloop_kill_ctimer(isdnloop_card *card, int ch)
649 spin_unlock_irqrestore(&card->isdnloop_lock, flags); 645 spin_unlock_irqrestore(&card->isdnloop_lock, flags);
650} 646}
651 647
652static u_char si2bit[] = 648static u_char si2bit[] = {0, 1, 0, 0, 0, 2, 0, 4, 0, 0};
653{0, 1, 0, 0, 0, 2, 0, 4, 0, 0}; 649static u_char bit2si[] = {1, 5, 7};
654static u_char bit2si[] =
655{1, 5, 7};
656 650
657/* 651/*
658 * Try finding a listener for an outgoing call. 652 * Try finding a listener for an outgoing call.