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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/net/sunqe.c linux/drivers/net/sunqe.c
@@ -926,8 +926,9 @@
 	return res;
 }
 
-int __init qec_probe(struct net_device *dev)
+int __init qec_probe(void)
 {
+	struct net_device *dev = NULL;
 	struct linux_sbus *bus;
 	struct linux_sbus_device *sdev = 0;
 	static int called = 0;
@@ -969,7 +970,7 @@
 init_module(void)
 {
 	root_qec_dev = NULL;
-	return qec_probe(NULL);
+	return qec_probe();
 }
 
 void

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