summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcxx.c')
-rw-r--r--drivers/char/pcxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcxx.c b/drivers/char/pcxx.c
index 9b0418faf..dda54324e 100644
--- a/drivers/char/pcxx.c
+++ b/drivers/char/pcxx.c
@@ -326,7 +326,7 @@ static void pcxx_error(int line, char *msg)
static int pcxx_waitcarrier(struct tty_struct *tty,struct file *filp,struct channel *info)
{
- struct wait_queue wait = { current, NULL };
+ DECLARE_WAITQUEUE(wait, current);
int retval = 0;
int do_clocal = 0;