diff options
author | Karsten Keil <kkeil@suse.de> | 2008-12-12 21:21:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-12 21:21:57 -0800 |
commit | 702c7904a29629e4e6b18d5497abe84bd20c0449 (patch) | |
tree | deb5f6c61085fce7f6a6cf8a003934bf9afb8db2 /drivers/isdn | |
parent | c31655fcf2c61f209aab8f4169b0e4afe49b581d (diff) | |
download | linux-702c7904a29629e4e6b18d5497abe84bd20c0449.tar.gz linux-702c7904a29629e4e6b18d5497abe84bd20c0449.tar.bz2 linux-702c7904a29629e4e6b18d5497abe84bd20c0449.zip |
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/mISDN/tei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index 1a824e75f8fd..5c43d19e7c11 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c @@ -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; |