|
@@ -40,11 +40,11 @@ static void driver_bound(struct device *dev)
|
|
|
pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev),
|
|
|
__func__, dev->driver->name);
|
|
|
|
|
|
+ klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);
|
|
|
+
|
|
|
if (dev->bus)
|
|
|
blocking_notifier_call_chain(&dev->bus->p->bus_notifier,
|
|
|
BUS_NOTIFY_BOUND_DRIVER, dev);
|
|
|
-
|
|
|
- klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);
|
|
|
}
|
|
|
|
|
|
static int driver_sysfs_add(struct device *dev)
|