diff -r 2548ca639b1f -r 50a44cbd30af master/slave.h --- a/master/slave.h Wed Jun 11 15:37:38 2008 +0000 +++ b/master/slave.h Thu Jun 12 07:15:54 2008 +0000 @@ -99,7 +99,6 @@ struct ec_slave { struct list_head list; /**< list item */ - struct kobject kobj; /**< kobject */ ec_master_t *master; /**< master owning the slave */ // addresses @@ -131,7 +130,6 @@ // slave information interface ec_sii_t sii; /**< SII data. */ - struct kobject sdo_kobj; /**< kobject for Sdos */ struct list_head sdo_dictionary; /**< Sdo dictionary list */ uint8_t sdo_dictionary_fetched; /**< dictionary has been fetched */ unsigned long jiffies_preop; /**< time, the slave went to PREOP */ @@ -140,8 +138,8 @@ /*****************************************************************************/ // slave construction/destruction -int ec_slave_init(ec_slave_t *, ec_master_t *, uint16_t, uint16_t); -void ec_slave_destroy(ec_slave_t *); +void ec_slave_init(ec_slave_t *, ec_master_t *, uint16_t, uint16_t); +void ec_slave_clear(ec_slave_t *); void ec_slave_clear_sync_managers(ec_slave_t *);