diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-13 17:04:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 20:28:12 -0500 |
commit | a9fb1c7b950bed4afe208c9d67e20f086bb6abbb (patch) | |
tree | 496c2b8b292411a6163dc451b8dab82665a8ab99 /drivers/w1/w1_family.c | |
parent | baf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 (diff) |
[PATCH] w1: misc cleanups
This patch contains the following cleanups:
- make needlessly global code static
- declarations for global code belong into header files
- w1.c: #if 0 the unused struct w1_slave_device
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_family.c')
-rw-r--r-- | drivers/w1/w1_family.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_family.c b/drivers/w1/w1_family.c index 9e293e139a0e..0e32c114f906 100644 --- a/drivers/w1/w1_family.c +++ b/drivers/w1/w1_family.c | |||
@@ -25,10 +25,10 @@ | |||
25 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
26 | 26 | ||
27 | #include "w1_family.h" | 27 | #include "w1_family.h" |
28 | #include "w1.h" | ||
28 | 29 | ||
29 | DEFINE_SPINLOCK(w1_flock); | 30 | DEFINE_SPINLOCK(w1_flock); |
30 | static LIST_HEAD(w1_families); | 31 | static LIST_HEAD(w1_families); |
31 | extern void w1_reconnect_slaves(struct w1_family *f); | ||
32 | 32 | ||
33 | int w1_register_family(struct w1_family *newf) | 33 | int w1_register_family(struct w1_family *newf) |
34 | { | 34 | { |