devices/8139too-2.6.13-ethercat.c
changeset 639 aa23c48dca2d
parent 573 cdee4ea90ce9
child 670 f57de4585a5f
--- a/devices/8139too-2.6.13-ethercat.c	Thu Mar 08 13:06:20 2007 +0000
+++ b/devices/8139too-2.6.13-ethercat.c	Thu Mar 08 18:15:25 2007 +0000
@@ -1069,8 +1069,7 @@
 	/* dev is fully set up and ready to use now */
     
 	// offer device to EtherCAT master module
-	if (ecdev_offer(dev, &tp->ecdev, "8139too", board_idx,
-				ec_poll, THIS_MODULE)) {
+	if (ecdev_offer(dev, ec_poll, THIS_MODULE, &tp->ecdev)) {
 		printk(KERN_ERR PFX "Failed to offer device.\n");
 		goto err_out;
 	}