Sourced SysFS attribute show method prototypes out of headers.
authorFlorian Pose <fp@igh-essen.com>
Mon, 10 Apr 2006 15:00:03 +0000
changeset 179 fb4c9dd11ca0
parent 178 b84f69db8566
child 180 786d4cba38fb
Sourced SysFS attribute show method prototypes out of headers.
master/domain.c
master/domain.h
master/master.c
master/master.h
--- 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 *);
 
 /*****************************************************************************/
 
--- 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
--- 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,
--- 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 *);
 
 /*****************************************************************************/