summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 4250fb0912..b5fe346ba4 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -154,6 +154,7 @@ int register_device(struct device_d *new_device)
INIT_LIST_HEAD(&new_device->cdevs);
INIT_LIST_HEAD(&new_device->parameters);
INIT_LIST_HEAD(&new_device->active);
+ INIT_LIST_HEAD(&new_device->bus_list);
if (new_device->bus) {
if (!new_device->parent)