diff --git a/master/domain.c b/master/domain.c index c622dacc..87e4c230 100644 --- a/master/domain.c +++ b/master/domain.c @@ -62,6 +62,7 @@ ec_data_reg_t; /*****************************************************************************/ +void ec_domain_clear(struct kobject *); void ec_domain_clear_data_regs(ec_domain_t *); ssize_t ec_show_domain_attribute(struct kobject *, struct attribute *, char *); diff --git a/master/domain.h b/master/domain.h index 72511063..2382d01e 100644 --- a/master/domain.h +++ b/master/domain.h @@ -76,7 +76,6 @@ struct ec_domain /*****************************************************************************/ int ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int); -void ec_domain_clear(struct kobject *); int ec_domain_alloc(ec_domain_t *, uint32_t); void ec_domain_queue(ec_domain_t *); diff --git a/master/master.c b/master/master.c index 8fcb0402..16967053 100644 --- a/master/master.c +++ b/master/master.c @@ -54,6 +54,7 @@ /*****************************************************************************/ +void ec_master_clear(struct kobject *); void ec_master_sync_io(ec_master_t *); void ec_master_idle_run(void *); void ec_master_eoe_run(unsigned long); diff --git a/master/master.h b/master/master.h index e706089f..0d62f876 100644 --- a/master/master.h +++ b/master/master.h @@ -143,7 +143,6 @@ struct ec_master // master creation and deletion int ec_master_init(ec_master_t *, unsigned int, unsigned int, dev_t); -void ec_master_clear(struct kobject *); void ec_master_reset(ec_master_t *); // free run diff --git a/master/slave.c b/master/slave.c index af31a0fa..2e8909e5 100644 --- a/master/slave.c +++ b/master/slave.c @@ -52,6 +52,7 @@ extern const ec_code_msg_t al_status_messages[]; /*****************************************************************************/ +void ec_slave_clear(struct kobject *); ssize_t ec_show_slave_attribute(struct kobject *, struct attribute *, char *); ssize_t ec_store_slave_attribute(struct kobject *, struct attribute *, const char *, size_t); diff --git a/master/slave.h b/master/slave.h index 60d73c52..cbf68e89 100644 --- a/master/slave.h +++ b/master/slave.h @@ -296,7 +296,6 @@ struct ec_slave // slave construction/destruction int ec_slave_init(ec_slave_t *, ec_master_t *, uint16_t, uint16_t); -void ec_slave_clear(struct kobject *); int ec_slave_prepare_fmmu(ec_slave_t *, const ec_domain_t *, const ec_sii_sync_t *);