diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-13 05:53:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:02 -0400 |
commit | fc1ede5888ab8a9b3e7f8567b945beed35222885 (patch) | |
tree | eddc7763a7e90d7644e655ec94e82f6c25af5e05 /drivers/base/base.h | |
parent | 1ef4cfac01fb5e98900f5bdb2a722aac1daff11b (diff) |
Driver core: remove put_bus()
put_bus() should not be globally visable as it is not used by anything
other than drivers/base/bus.c. This patch removes the visability of it,
and renames it to match all of the other *_put() functions in the
kernel.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r-- | drivers/base/base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index 47eb02d9f1af..cebc7e754574 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h | |||
@@ -19,7 +19,6 @@ extern int bus_add_device(struct device * dev); | |||
19 | extern void bus_attach_device(struct device * dev); | 19 | extern void bus_attach_device(struct device * dev); |
20 | extern void bus_remove_device(struct device * dev); | 20 | extern void bus_remove_device(struct device * dev); |
21 | extern struct bus_type *get_bus(struct bus_type * bus); | 21 | extern struct bus_type *get_bus(struct bus_type * bus); |
22 | extern void put_bus(struct bus_type * bus); | ||
23 | 22 | ||
24 | extern int bus_add_driver(struct device_driver *); | 23 | extern int bus_add_driver(struct device_driver *); |
25 | extern void bus_remove_driver(struct device_driver *); | 24 | extern void bus_remove_driver(struct device_driver *); |