Commit cacccb06 authored by Bas Peters's avatar Bas Peters Committed by David S. Miller

drivers: isdn: isdnloop: isdnloop.c: Fix brace positions according to CodingStyle specifications.

Signed-off-by: default avatarBas Peters <baspeters93@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50a58b6b
...@@ -150,8 +150,7 @@ typedef struct isdnloop_stat { ...@@ -150,8 +150,7 @@ typedef struct isdnloop_stat {
int action; int action;
} isdnloop_stat; } isdnloop_stat;
/* *INDENT-OFF* */ /* *INDENT-OFF* */
static isdnloop_stat isdnloop_stat_table[] = static isdnloop_stat isdnloop_stat_table[] = {
{
{"BCON_", ISDN_STAT_BCONN, 1}, /* B-Channel connected */ {"BCON_", ISDN_STAT_BCONN, 1}, /* B-Channel connected */
{"BDIS_", ISDN_STAT_BHUP, 2}, /* B-Channel disconnected */ {"BDIS_", ISDN_STAT_BHUP, 2}, /* B-Channel disconnected */
{"DCON_", ISDN_STAT_DCONN, 0}, /* D-Channel connected */ {"DCON_", ISDN_STAT_DCONN, 0}, /* D-Channel connected */
...@@ -485,8 +484,7 @@ isdnloop_fake(isdnloop_card *card, char *s, int ch) ...@@ -485,8 +484,7 @@ isdnloop_fake(isdnloop_card *card, char *s, int ch)
return 0; return 0;
} }
/* *INDENT-OFF* */ /* *INDENT-OFF* */
static isdnloop_stat isdnloop_cmd_table[] = static isdnloop_stat isdnloop_cmd_table[] = {
{
{"BCON_R", 0, 1}, /* B-Channel connect */ {"BCON_R", 0, 1}, /* B-Channel connect */
{"BCON_I", 0, 17}, /* B-Channel connect ind */ {"BCON_I", 0, 17}, /* B-Channel connect ind */
{"BDIS_R", 0, 2}, /* B-Channel disconnect */ {"BDIS_R", 0, 2}, /* B-Channel disconnect */
...@@ -527,10 +525,8 @@ isdnloop_fake_err(isdnloop_card *card) ...@@ -527,10 +525,8 @@ isdnloop_fake_err(isdnloop_card *card)
isdnloop_fake(card, "NAK", -1); isdnloop_fake(card, "NAK", -1);
} }
static u_char ctable_eu[] = static u_char ctable_eu[] = {0x00, 0x11, 0x01, 0x12};
{0x00, 0x11, 0x01, 0x12}; static u_char ctable_1t[] = {0x00, 0x3b, 0x01, 0x3a};
static u_char ctable_1t[] =
{0x00, 0x3b, 0x01, 0x3a};
/* /*
* Assemble a simplified cause message depending on the * Assemble a simplified cause message depending on the
...@@ -649,10 +645,8 @@ isdnloop_kill_ctimer(isdnloop_card *card, int ch) ...@@ -649,10 +645,8 @@ isdnloop_kill_ctimer(isdnloop_card *card, int ch)
spin_unlock_irqrestore(&card->isdnloop_lock, flags); spin_unlock_irqrestore(&card->isdnloop_lock, flags);
} }
static u_char si2bit[] = static u_char si2bit[] = {0, 1, 0, 0, 0, 2, 0, 4, 0, 0};
{0, 1, 0, 0, 0, 2, 0, 4, 0, 0}; static u_char bit2si[] = {1, 5, 7};
static u_char bit2si[] =
{1, 5, 7};
/* /*
* Try finding a listener for an outgoing call. * Try finding a listener for an outgoing call.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment