[patch] 2.3.99-pre3-6: plip.c __setup function

From: Tim Waugh (twaugh@redhat.com)
Date: Wed Mar 22 2000 - 10:33:48 EST


Here is a patch to fix plip_setup -- it's current a void return type, and
should return int.

Tim.
*/

Index: linux/drivers/net/plip.c
diff -u linux/drivers/net/plip.c:1.1.1.6 linux/drivers/net/plip.c:1.8
--- linux/drivers/net/plip.c:1.1.1.6 Tue Mar 14 11:21:21 2000
+++ linux/drivers/net/plip.c Wed Mar 22 15:07:04 2000
@@ -1325,7 +1325,7 @@
 
 static int parport_ptr = 0;
 
-static void __init plip_setup(char *str)
+static int __init plip_setup(char *str)
 {
         int ints[4];
 
@@ -1350,6 +1350,7 @@
                                ints[1]);
                 }
         }
+ return 1;
 }
 
 __setup("plip=", plip_setup);

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:36 EST