summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpqic02.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-17 13:25:08 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-17 13:25:08 +0000
commit59223edaa18759982db0a8aced0e77457d10c68e (patch)
tree89354903b01fa0a447bffeefe00df3044495db2e /drivers/char/tpqic02.c
parentdb7d4daea91e105e3859cf461d7e53b9b77454b2 (diff)
Merge with Linux 2.3.6. Sorry, this isn't tested on silicon, I don't
have a MIPS box at hand.
Diffstat (limited to 'drivers/char/tpqic02.c')
-rw-r--r--drivers/char/tpqic02.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tpqic02.c b/drivers/char/tpqic02.c
index 7dcecae4c..67b8f3a71 100644
--- a/drivers/char/tpqic02.c
+++ b/drivers/char/tpqic02.c
@@ -127,7 +127,7 @@ unsigned long qic02_tape_debug = TPQD_DEFAULT_FLAGS;
static volatile int ctlbits = 0; /* control reg bits for tape interface */
-static struct wait_queue *qic02_tape_transfer = NULL; /* sync rw with interrupts */
+static wait_queue_t qic02_tape_transfer; /* sync rw with interrupts */
static volatile struct mtget ioctl_status; /* current generic status */
@@ -2936,6 +2936,7 @@ __initfunc(int qic02_tape_init(void))
return -ENODEV;
}
+ init_waitqueue_head(&qic02_tape_transfer);
/* prepare timer */
TIMEROFF;
timer_table[QIC02_TAPE_TIMER].expires = 0;