diff options
author | Paul Mackerras <paulus@samba.org> | 2006-07-31 20:37:25 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-31 20:37:25 -0400 |
commit | 57cad8084e0837e0f2c97da789ec9b3f36809be9 (patch) | |
tree | e9c790afb4286f78cb08d9664f58baa7e876fe55 /drivers/base/bus.c | |
parent | cb18bd40030c879cd93fef02fd579f74dbab473d (diff) | |
parent | 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 (diff) |
Merge branch 'merge'
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r-- | drivers/base/bus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 83fa8b291a59..2e954d07175a 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c | |||
@@ -129,7 +129,7 @@ static struct kobj_type ktype_bus = { | |||
129 | 129 | ||
130 | }; | 130 | }; |
131 | 131 | ||
132 | decl_subsys(bus, &ktype_bus, NULL); | 132 | static decl_subsys(bus, &ktype_bus, NULL); |
133 | 133 | ||
134 | 134 | ||
135 | #ifdef CONFIG_HOTPLUG | 135 | #ifdef CONFIG_HOTPLUG |
@@ -598,12 +598,13 @@ void put_bus(struct bus_type * bus) | |||
598 | * | 598 | * |
599 | * Note that kset_find_obj increments bus' reference count. | 599 | * Note that kset_find_obj increments bus' reference count. |
600 | */ | 600 | */ |
601 | 601 | #if 0 | |
602 | struct bus_type * find_bus(char * name) | 602 | struct bus_type * find_bus(char * name) |
603 | { | 603 | { |
604 | struct kobject * k = kset_find_obj(&bus_subsys.kset, name); | 604 | struct kobject * k = kset_find_obj(&bus_subsys.kset, name); |
605 | return k ? to_bus(k) : NULL; | 605 | return k ? to_bus(k) : NULL; |
606 | } | 606 | } |
607 | #endif /* 0 */ | ||
607 | 608 | ||
608 | 609 | ||
609 | /** | 610 | /** |