diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-27 05:29:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 14:22:51 -0400 |
commit | 6a873403d387c34c4466cc81649acc8acd66874d (patch) | |
tree | 1b449b00ef736ede8e07481909d2e333c126a01b /drivers | |
parent | f621e1c78134f7cea0d2cf2c2822c917bedec516 (diff) |
[PATCH] drivers/w1/w1.c: fix a compile error
From: Adrian Bunk <bunk@stusta.de>
drivers/w1/w1.c:197: error: static declaration of 'w1_bus_type' follows non-static declaration
drivers/w1/w1.h:217: error: previous declaration of 'w1_bus_type' was here
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: 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')
-rw-r--r-- | drivers/w1/w1.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h index c90a92879bc7..f1df5343f4ad 100644 --- a/drivers/w1/w1.h +++ b/drivers/w1/w1.h | |||
@@ -211,7 +211,6 @@ static inline struct w1_master* dev_to_w1_master(struct device *dev) | |||
211 | } | 211 | } |
212 | 212 | ||
213 | extern struct device_driver w1_master_driver; | 213 | extern struct device_driver w1_master_driver; |
214 | extern struct bus_type w1_bus_type; | ||
215 | extern struct device w1_master_device; | 214 | extern struct device w1_master_device; |
216 | extern int w1_max_slave_count; | 215 | extern int w1_max_slave_count; |
217 | extern int w1_max_slave_ttl; | 216 | extern int w1_max_slave_ttl; |