v2.3.1pre1 compile-time problem with parport_share.c

David Weinehall (tao@acc.umu.se)
Wed, 12 May 1999 11:08:02 +0200 (MET DST)


v2.3.1pre1 won't compile with parport support compiled in; this little fix
will solve that. I'm not 100% sure it's the right one, only 99%. It works
for me, though...

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

--- linux-2.3.1pre1/drivers/misc/parport_share.c.bak Wed May 12 11:04:15 1999
+++ linux-2.3.1pre1/drivers/misc/parport_share.c Wed May 12 11:00:03 1999
@@ -277,7 +277,7 @@
inc_parport_count();
port->ops->inc_use_count();

- init_waitqueue(&tmp->wait_q);
+ init_waitqueue_head(&tmp->wait_q);
tmp->timeslice = PARPORT_DEFAULT_TIMESLICE;
tmp->waitnext = tmp->waitprev = NULL;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/