patch-2.3.1 linux/drivers/char/pc110pad.c
Next file: linux/drivers/char/pc_keyb.c
Previous file: linux/drivers/char/n_tty.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed May 12 13:27:37 1999
- Orig file:
v2.3.0/linux/drivers/char/pc110pad.c
- Orig date:
Sat Sep 5 17:01:45 1998
diff -u --recursive --new-file v2.3.0/linux/drivers/char/pc110pad.c linux/drivers/char/pc110pad.c
@@ -48,7 +48,7 @@
/* driver/filesystem interface management */
-static struct wait_queue *queue;
+static wait_queue_head_t queue;
static struct fasync_struct *asyncptr;
static int active=0; /* number of concurrent open()s */
@@ -656,6 +656,7 @@
return -EBUSY;
}
request_region(current_params.io, 4, "pc110pad");
+ init_waitqueue_head(&queue);
printk("PC110 digitizer pad at 0x%X, irq %d.\n",
current_params.io,current_params.irq);
misc_register(&pc110_pad);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)