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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/net/sunbmac.c linux/drivers/net/sunbmac.c
@@ -1492,8 +1492,9 @@
 	return res;	/* Return error code. */
 }
 
-int __init bigmac_probe(struct net_device *dev)
+int __init bigmac_probe(void)
 {
+	struct net_device *dev = NULL;
 	struct linux_sbus *bus;
 	struct linux_sbus_device *sdev = 0;
 	static int called = 0;
@@ -1529,7 +1530,7 @@
 init_module(void)
 {
 	root_bigmac_dev = NULL;
-	return bigmac_probe(NULL);
+	return bigmac_probe();
 }
 
 void

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