master/module.c
changeset 533 acdd1f9ef7ab
parent 531 8d9339e7453f
child 541 5a2b1658b67f
--- a/master/module.c	Fri Jan 12 12:50:52 2007 +0000
+++ b/master/module.c	Fri Jan 12 14:28:33 2007 +0000
@@ -282,7 +282,7 @@
 ec_device_t *ecdev_register(unsigned int master_index, /**< master index */
                             struct net_device *net_dev, /**< net_device of
                                                            the device */
-                            ec_isr_t isr, /**< interrupt service routine */
+                            ec_pollfunc_t poll, /**< device poll function */
                             struct module *module /**< pointer to the module */
                             )
 {
@@ -306,7 +306,7 @@
         goto out_up;
     }
 
-    if (ec_device_init(master->device, master, net_dev, isr, module)) {
+    if (ec_device_init(master->device, master, net_dev, poll, module)) {
         EC_ERR("Failed to init device!\n");
         goto out_free;
     }