Sourced SysFS attribute show method prototypes out of headers.
This commit is contained in:
parent
4d3e4f5625
commit
d876fe7731
|
|
@ -15,6 +15,7 @@
|
|||
/*****************************************************************************/
|
||||
|
||||
void ec_domain_clear_field_regs(ec_domain_t *);
|
||||
ssize_t ec_show_domain_attribute(struct kobject *, struct attribute *, char *);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -62,8 +62,6 @@ 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);
|
||||
|
||||
ssize_t ec_show_domain_attribute(struct kobject *, struct attribute *, char *);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
ssize_t ec_show_master_attribute(struct kobject *, struct attribute *, char *);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static struct attribute attr_slave_count = {
|
||||
.name = "slave_count",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ int ec_master_bus_scan(ec_master_t *);
|
|||
void ec_master_debug(const ec_master_t *);
|
||||
void ec_master_output_stats(ec_master_t *);
|
||||
void ec_master_run_eoe(ec_master_t *);
|
||||
ssize_t ec_show_master_attribute(struct kobject *, struct attribute *, char *);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue