aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/l1oip.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-02-19 22:52:38 -0500
committerJoe Perches <joe@perches.com>2012-02-21 12:04:01 -0500
commit475be4d85a274d0961593db41cf85689db1d583c (patch)
treeb2b8931eb747794730522c3cf1898e46948527b9 /drivers/isdn/mISDN/l1oip.h
parent0b0a635f79f91f3755b6518627ea06dd0dbfd523 (diff)
isdn: whitespace coding style cleanup
isdn source code uses a not-current coding style. Update the coding style used on a per-line basis so that git diff -w shows only elided blank lines at EOF. Done with emacs and some scripts and some typing. Built x86 allyesconfig. No detected change in objdump -d or size. Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/isdn/mISDN/l1oip.h')
-rw-r--r--drivers/isdn/mISDN/l1oip.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/drivers/isdn/mISDN/l1oip.h b/drivers/isdn/mISDN/l1oip.h
index bc26c890d9a2..661c060ada49 100644
--- a/drivers/isdn/mISDN/l1oip.h
+++ b/drivers/isdn/mISDN/l1oip.h
@@ -10,7 +10,7 @@
10 10
11/* enable to disorder received bchannels by sequence 2143658798... */ 11/* enable to disorder received bchannels by sequence 2143658798... */
12/* 12/*
13#define REORDER_DEBUG 13 #define REORDER_DEBUG
14*/ 14*/
15 15
16/* frames */ 16/* frames */
@@ -29,8 +29,8 @@
29 29
30/* channel structure */ 30/* channel structure */
31struct l1oip_chan { 31struct l1oip_chan {
32 struct dchannel *dch; 32 struct dchannel *dch;
33 struct bchannel *bch; 33 struct bchannel *bch;
34 u32 tx_counter; /* counts xmit bytes/packets */ 34 u32 tx_counter; /* counts xmit bytes/packets */
35 u32 rx_counter; /* counts recv bytes/packets */ 35 u32 rx_counter; /* counts recv bytes/packets */
36 u32 codecstate; /* used by codec to save data */ 36 u32 codecstate; /* used by codec to save data */
@@ -60,19 +60,19 @@ struct l1oip {
60 int limit; /* limit number of bchannels */ 60 int limit; /* limit number of bchannels */
61 61
62 /* timer */ 62 /* timer */
63 struct timer_list keep_tl; 63 struct timer_list keep_tl;
64 struct timer_list timeout_tl; 64 struct timer_list timeout_tl;
65 int timeout_on; 65 int timeout_on;
66 struct work_struct workq; 66 struct work_struct workq;
67 67
68 /* socket */ 68 /* socket */
69 struct socket *socket; /* if set, socket is created */ 69 struct socket *socket; /* if set, socket is created */
70 struct completion socket_complete;/* completion of sock thread */ 70 struct completion socket_complete;/* completion of sock thread */
71 struct task_struct *socket_thread; 71 struct task_struct *socket_thread;
72 spinlock_t socket_lock; /* access sock outside thread */ 72 spinlock_t socket_lock; /* access sock outside thread */
73 u32 remoteip; /* if all set, ip is assigned */ 73 u32 remoteip; /* if all set, ip is assigned */
74 u16 localport; /* must always be set */ 74 u16 localport; /* must always be set */
75 u16 remoteport; /* must always be set */ 75 u16 remoteport; /* must always be set */
76 struct sockaddr_in sin_local; /* local socket name */ 76 struct sockaddr_in sin_local; /* local socket name */
77 struct sockaddr_in sin_remote; /* remote socket name */ 77 struct sockaddr_in sin_remote; /* remote socket name */
78 struct msghdr sendmsg; /* ip message to send */ 78 struct msghdr sendmsg; /* ip message to send */
@@ -88,4 +88,3 @@ extern int l1oip_alaw_to_ulaw(u8 *data, int len, u8 *result);
88extern int l1oip_ulaw_to_alaw(u8 *data, int len, u8 *result); 88extern int l1oip_ulaw_to_alaw(u8 *data, int len, u8 *result);
89extern void l1oip_4bit_free(void); 89extern void l1oip_4bit_free(void);
90extern int l1oip_4bit_alloc(int ulaw); 90extern int l1oip_4bit_alloc(int ulaw);
91