Skip to content

Commit

Permalink
misdn: Fix lockdep warning
Browse files Browse the repository at this point in the history
use correct dynamic spinlock init function.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Karsten Keil authored and David S. Miller committed Dec 13, 2008
1 parent c31655f commit 702c790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isdn/mISDN/tei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ create_teimanager(struct mISDNdevice *dev)
if (!mgr)
return -ENOMEM;
INIT_LIST_HEAD(&mgr->layer2);
mgr->lock = __RW_LOCK_UNLOCKED(mgr->lock);
rwlock_init(&mgr->lock);
skb_queue_head_init(&mgr->sendq);
mgr->nextid = 1;
mgr->lastid = MISDN_ID_NONE;
Expand Down

0 comments on commit 702c790

Please sign in to comment.