From 691b33af427ea1593d83fec064805cf9dd5c2847 Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Mon, 10 Apr 2006 15:00:03 +0000 Subject: [PATCH] Sourced SysFS attribute show method prototypes out of headers. --- master/domain.c | 1 + master/domain.h | 2 -- master/master.c | 4 ++++ master/master.h | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/master/domain.c b/master/domain.c index d9377c05..3a7d88db 100644 --- a/master/domain.c +++ b/master/domain.c @@ -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 --git a/master/domain.h b/master/domain.h index 23a58c0f..58d662f6 100644 --- a/master/domain.h +++ b/master/domain.h @@ -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 diff --git a/master/master.c b/master/master.c index d5587874..56966615 100644 --- a/master/master.c +++ b/master/master.c @@ -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 --git a/master/master.h b/master/master.h index 379ede4b..0f772125 100644 --- a/master/master.h +++ b/master/master.h @@ -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 *); /*****************************************************************************/ -- GitLab