diff -r b0994b4e3b37 -r aa23c48dca2d devices/8139too-2.6.13-ethercat.c --- 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; }