forked from luck/tmp_suning_uos_patched
misdn: Fix lockdep warning
use correct dynamic spinlock init function. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c31655fcf2
commit
702c7904a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user