patch-2.3.27 linux/drivers/net/myri_sbus.c

Next file: linux/drivers/net/ncr885e.c
Previous file: linux/drivers/net/mace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/net/myri_sbus.c linux/drivers/net/myri_sbus.c
@@ -1074,8 +1074,9 @@
 	return 0;
 }
 
-int __init myri_sbus_probe(struct net_device *dev)
+int __init myri_sbus_probe(void)
 {
+	struct net_device *dev = NULL;
 	struct linux_sbus *bus;
 	struct linux_sbus_device *sdev = 0;
 	static int called = 0;
@@ -1108,7 +1109,7 @@
 init_module(void)
 {
 	root_myri_dev = NULL;
-	return myri_sbus_probe(NULL);
+	return myri_sbus_probe();
 }
 
 void

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)