summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/isdnloop/isdnloop.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-05-08 09:32:45 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:15:17 +0200
commit2bd7e20e0d24325b0799544bc8105cc57cc8e2aa (patch)
treeb743234b90f7c8574ae3ae85f7c8f2209484f90a /drivers/isdn/isdnloop/isdnloop.c
parentuse mutex instead of semaphore in CAPI 2.0 interface (diff)
downloadlinux-2bd7e20e0d24325b0799544bc8105cc57cc8e2aa.tar.xz
linux-2bd7e20e0d24325b0799544bc8105cc57cc8e2aa.zip
ISDN: Spinlock initializer cleanup
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/isdnloop/isdnloop.c')
-rw-r--r--drivers/isdn/isdnloop/isdnloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/isdnloop/isdnloop.c b/drivers/isdn/isdnloop/isdnloop.c
index e93ad59f60bf..bb92e3cd9334 100644
--- a/drivers/isdn/isdnloop/isdnloop.c
+++ b/drivers/isdn/isdnloop/isdnloop.c
@@ -1462,7 +1462,7 @@ isdnloop_initcard(char *id)
skb_queue_head_init(&card->bqueue[i]);
}
skb_queue_head_init(&card->dqueue);
- card->isdnloop_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&card->isdnloop_lock);
card->next = cards;
cards = card;
if (!register_isdn(&card->interface)) {