diff options
Diffstat (limited to 'drivers/isdn/mISDN/tei.c')
-rw-r--r-- | drivers/isdn/mISDN/tei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index 6fbae42127bf..5c43d19e7c11 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c | |||
@@ -393,7 +393,7 @@ dl_unit_data(struct manager *mgr, struct sk_buff *skb) | |||
393 | return 0; | 393 | return 0; |
394 | } | 394 | } |
395 | 395 | ||
396 | unsigned int | 396 | static unsigned int |
397 | random_ri(void) | 397 | random_ri(void) |
398 | { | 398 | { |
399 | u16 x; | 399 | u16 x; |
@@ -1287,7 +1287,7 @@ create_teimanager(struct mISDNdevice *dev) | |||
1287 | if (!mgr) | 1287 | if (!mgr) |
1288 | return -ENOMEM; | 1288 | return -ENOMEM; |
1289 | INIT_LIST_HEAD(&mgr->layer2); | 1289 | INIT_LIST_HEAD(&mgr->layer2); |
1290 | mgr->lock = __RW_LOCK_UNLOCKED(mgr->lock); | 1290 | rwlock_init(&mgr->lock); |
1291 | skb_queue_head_init(&mgr->sendq); | 1291 | skb_queue_head_init(&mgr->sendq); |
1292 | mgr->nextid = 1; | 1292 | mgr->nextid = 1; |
1293 | mgr->lastid = MISDN_ID_NONE; | 1293 | mgr->lastid = MISDN_ID_NONE; |