devices/ecdev.h
changeset 639 aa23c48dca2d
parent 573 cdee4ea90ce9
child 668 09438628d4a3
equal deleted inserted replaced
638:b0994b4e3b37 639:aa23c48dca2d
    64 typedef void (*ec_pollfunc_t)(struct net_device *);
    64 typedef void (*ec_pollfunc_t)(struct net_device *);
    65 
    65 
    66 /*****************************************************************************/
    66 /*****************************************************************************/
    67 // Offering/withdrawal functions
    67 // Offering/withdrawal functions
    68 
    68 
    69 int ecdev_offer(struct net_device *net_dev, ec_device_t **,
    69 int ecdev_offer(struct net_device *net_dev, ec_pollfunc_t poll,
    70         const char *driver_name, unsigned int board_index,
    70         struct module *module, ec_device_t **);
    71         ec_pollfunc_t poll, struct module *module);
       
    72 void ecdev_withdraw(ec_device_t *device);
    71 void ecdev_withdraw(ec_device_t *device);
    73 
    72 
    74 /*****************************************************************************/
    73 /*****************************************************************************/
    75 // Device methods
    74 // Device methods
    76 
    75