summaryrefslogtreecommitdiffstats
path: root/drivers/char/dz.h
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-09-18 20:48:03 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-09-18 20:48:03 +0000
commitbb722553b5f6467eb4acbc3afa2bf4cc7bd60474 (patch)
tree6b3ab5449aece7ba73d11235fe6c452ca27d446b /drivers/char/dz.h
parent2eea98631f146d92aa39a39e23f5ac02ca34d20b (diff)
o made CVS compile again for R5000
o dz fixes by David Airlie o small zs fix (init is fast again) o #ifdef in softirq.h fixed
Diffstat (limited to 'drivers/char/dz.h')
-rw-r--r--drivers/char/dz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/dz.h b/drivers/char/dz.h
index 1b986d908..bf106e1ea 100644
--- a/drivers/char/dz.h
+++ b/drivers/char/dz.h
@@ -158,8 +158,8 @@ struct dz_serial {
struct tq_struct tqueue_hangup;
struct termios normal_termios;
struct termios callout_termios;
- struct wait_queue *open_wait;
- struct wait_queue *close_wait;
+ wait_queue_head_t open_wait;
+ wait_queue_head_t close_wait;
long session; /* Session of opening process */
long pgrp; /* pgrp of opening process */
@@ -188,7 +188,7 @@ static int serial_refcount;
* memory if large numbers of serial ports are open.
*/
static unsigned char *tmp_buf;
-static struct semaphore tmp_buf_sem = MUTEX;
+static DECLARE_MUTEX(tmp_buf_sem);
static char *dz_name = "DECstation DZ serial driver version ";
static char *dz_version = "1.02";