aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 2f775936544b..bc38085dbb10 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -728,7 +728,7 @@ EXPORT_SYMBOL_GPL(device_reprobe);
728 728
729struct bus_type *get_bus(struct bus_type *bus) 729struct bus_type *get_bus(struct bus_type *bus)
730{ 730{
731 return bus ? container_of(subsys_get(&bus->subsys), 731 return bus ? container_of(kset_get(&bus->subsys),
732 struct bus_type, subsys) : NULL; 732 struct bus_type, subsys) : NULL;
733} 733}
734 734