diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-05-08 03:32:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:17 -0400 |
commit | 2bd7e20e0d24325b0799544bc8105cc57cc8e2aa (patch) | |
tree | b743234b90f7c8574ae3ae85f7c8f2209484f90a | |
parent | 9ea6e5d8088096aeba29b6778c3d3d82fb495e9f (diff) |
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>
-rw-r--r-- | drivers/isdn/hysdn/boardergo.c | 2 | ||||
-rw-r--r-- | drivers/isdn/isdnloop/isdnloop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/boardergo.c b/drivers/isdn/hysdn/boardergo.c index 84dccd526ac0..6cdbad3a9926 100644 --- a/drivers/isdn/hysdn/boardergo.c +++ b/drivers/isdn/hysdn/boardergo.c | |||
@@ -443,7 +443,7 @@ ergo_inithardware(hysdn_card * card) | |||
443 | card->waitpofready = ergo_waitpofready; | 443 | card->waitpofready = ergo_waitpofready; |
444 | card->set_errlog_state = ergo_set_errlog_state; | 444 | card->set_errlog_state = ergo_set_errlog_state; |
445 | INIT_WORK(&card->irq_queue, ergo_irq_bh); | 445 | INIT_WORK(&card->irq_queue, ergo_irq_bh); |
446 | card->hysdn_lock = SPIN_LOCK_UNLOCKED; | 446 | spin_lock_init(&card->hysdn_lock); |
447 | 447 | ||
448 | return (0); | 448 | return (0); |
449 | } /* ergo_inithardware */ | 449 | } /* ergo_inithardware */ |
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) | |||
1462 | skb_queue_head_init(&card->bqueue[i]); | 1462 | skb_queue_head_init(&card->bqueue[i]); |
1463 | } | 1463 | } |
1464 | skb_queue_head_init(&card->dqueue); | 1464 | skb_queue_head_init(&card->dqueue); |
1465 | card->isdnloop_lock = SPIN_LOCK_UNLOCKED; | 1465 | spin_lock_init(&card->isdnloop_lock); |
1466 | card->next = cards; | 1466 | card->next = cards; |
1467 | cards = card; | 1467 | cards = card; |
1468 | if (!register_isdn(&card->interface)) { | 1468 | if (!register_isdn(&card->interface)) { |