summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/parport_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/parport_debug.c')
-rw-r--r--drivers/dahdi/xpp/parport_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/parport_debug.c b/drivers/dahdi/xpp/parport_debug.c
index 93049ef..23c0b41 100644
--- a/drivers/dahdi/xpp/parport_debug.c
+++ b/drivers/dahdi/xpp/parport_debug.c
@@ -36,7 +36,7 @@ static int parport_toggles[8]; /* 8 bit flip-flop */
void flip_parport_bit(unsigned char bitnum)
{
static unsigned char last_value;
- spinlock_t lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(lock);
unsigned long flags;
unsigned char mask;
unsigned char value;