patch-2.1.32 linux/drivers/net/shaper.c

Next file: linux/drivers/scsi/AM53C974.c
Previous file: linux/drivers/net/de4x5.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/drivers/net/shaper.c linux/drivers/net/shaper.c
@@ -614,7 +614,7 @@
 	if(err<0)
 		return err;
 	printk(SHAPER_BANNER);	
-	if (register_netdev(dev) != 0)
+	if (register_netdev(&dev_shape) != 0)
 		return -EIO;
 	printk("Traffic shaper initialised.\n");
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov