diff options
Diffstat (limited to 'drivers/base/power')
-rw-r--r-- | drivers/base/power/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/shutdown.c b/drivers/base/power/shutdown.c index 56e8eaaac012..f51cbc1d402c 100644 --- a/drivers/base/power/shutdown.c +++ b/drivers/base/power/shutdown.c | |||
@@ -34,7 +34,7 @@ void device_shutdown(void) | |||
34 | { | 34 | { |
35 | struct device * dev, *devn; | 35 | struct device * dev, *devn; |
36 | 36 | ||
37 | list_for_each_entry_safe_reverse(dev, devn, &devices_subsys.list, | 37 | list_for_each_entry_safe_reverse(dev, devn, &devices_kset->list, |
38 | kobj.entry) { | 38 | kobj.entry) { |
39 | if (dev->bus && dev->bus->shutdown) { | 39 | if (dev->bus && dev->bus->shutdown) { |
40 | dev_dbg(dev, "shutdown\n"); | 40 | dev_dbg(dev, "shutdown\n"); |