Sourced SysFS attribute show method prototypes out of headers.

This commit is contained in:
Florian Pose 2006-04-10 15:00:03 +00:00
parent 4d3e4f5625
commit d876fe7731
4 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,7 @@
/*****************************************************************************/
void ec_domain_clear_field_regs(ec_domain_t *);
ssize_t ec_show_domain_attribute(struct kobject *, struct attribute *, char *);
/*****************************************************************************/

View File

@ -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

View File

@ -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,

View File

@ -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 *);
/*****************************************************************************/