diff options
-rw-r--r-- | drivers/base/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index c89291f8a16b..503c2620bbcc 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c | |||
@@ -40,11 +40,11 @@ static void driver_bound(struct device *dev) | |||
40 | pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev), | 40 | pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev), |
41 | __func__, dev->driver->name); | 41 | __func__, dev->driver->name); |
42 | 42 | ||
43 | klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); | ||
44 | |||
43 | if (dev->bus) | 45 | if (dev->bus) |
44 | blocking_notifier_call_chain(&dev->bus->p->bus_notifier, | 46 | blocking_notifier_call_chain(&dev->bus->p->bus_notifier, |
45 | BUS_NOTIFY_BOUND_DRIVER, dev); | 47 | BUS_NOTIFY_BOUND_DRIVER, dev); |
46 | |||
47 | klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); | ||
48 | } | 48 | } |
49 | 49 | ||
50 | static int driver_sysfs_add(struct device *dev) | 50 | static int driver_sysfs_add(struct device *dev) |