patch-pre2.0.7 linux/drivers/net/dummy.c

Next file: linux/drivers/net/hydra.c
Previous file: linux/drivers/net/ariadne.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.6/linux/drivers/net/dummy.c linux/drivers/net/dummy.c
@@ -88,8 +88,8 @@
 	dev->get_stats		= dummy_get_stats;
 #endif
 
-	dev->open = &dummy_open;
-	dev->stop = &dummy_close;
+	dev->open = dummy_open;
+	dev->stop = dummy_close;
 
 	/* Fill in the fields of the device structure with ethernet-generic values. */
 	ether_setup(dev);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this