Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 702c7904 authored by Karsten Keil's avatar Karsten Keil Committed by David S. Miller
Browse files

misdn: Fix lockdep warning



use correct dynamic spinlock init function.

Signed-off-by: default avatarKarsten Keil <kkeil@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c31655fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;