# HG changeset patch # User Florian Pose # Date 1144681203 0 # Node ID fb4c9dd11ca01bcce6791735c5b3e2e31fd6a09c # Parent b84f69db8566b9470cfa525875a8b5e99fdfc8b5 Sourced SysFS attribute show method prototypes out of headers. diff -r b84f69db8566 -r fb4c9dd11ca0 master/domain.c --- a/master/domain.c Mon Apr 10 14:25:02 2006 +0000 +++ b/master/domain.c Mon Apr 10 15:00:03 2006 +0000 @@ -15,6 +15,7 @@ /*****************************************************************************/ void ec_domain_clear_field_regs(ec_domain_t *); +ssize_t ec_show_domain_attribute(struct kobject *, struct attribute *, char *); /*****************************************************************************/ diff -r b84f69db8566 -r fb4c9dd11ca0 master/domain.h --- a/master/domain.h Mon Apr 10 14:25:02 2006 +0000 +++ b/master/domain.h Mon Apr 10 15:00:03 2006 +0000 @@ -62,8 +62,6 @@ 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 diff -r b84f69db8566 -r fb4c9dd11ca0 master/master.c --- a/master/master.c Mon Apr 10 14:25:02 2006 +0000 +++ b/master/master.c Mon Apr 10 15:00:03 2006 +0000 @@ -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, diff -r b84f69db8566 -r fb4c9dd11ca0 master/master.h --- a/master/master.h Mon Apr 10 14:25:02 2006 +0000 +++ b/master/master.h Mon Apr 10 15:00:03 2006 +0000 @@ -85,7 +85,6 @@ 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 *); /*****************************************************************************/