patch-2.1.48 linux/drivers/pnp/parport_probe.c

Next file: linux/drivers/sbus/char/Makefile
Previous file: linux/drivers/net/soundmodem/sm_wss.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/drivers/pnp/parport_probe.c linux/drivers/pnp/parport_probe.c
@@ -86,15 +86,15 @@
 
 static struct wait_queue *wait_q = NULL;
 
-static int wakeup(void *ref)
+static void wakeup(void *ref)
 {
 	struct pardevice **dev = (struct pardevice **)ref;
 	
 	if (!wait_q || parport_claim(*dev))
-		return 1;
+		return;
 
 	wake_up(&wait_q);
-	return 0;
+	return;
 }
 
 int parport_probe(struct parport *port, char *buffer, int len)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov