diff options
Diffstat (limited to 'drivers/base/core.c')
| -rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index efe03a024a5b..c8a33df00761 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
| @@ -249,7 +249,7 @@ int device_add(struct device *dev) | |||
| 249 | if ((error = bus_add_device(dev))) | 249 | if ((error = bus_add_device(dev))) |
| 250 | goto BusError; | 250 | goto BusError; |
| 251 | if (parent) | 251 | if (parent) |
| 252 | klist_add_tail(&parent->klist_children, &dev->knode_parent); | 252 | klist_add_tail(&dev->knode_parent, &parent->klist_children); |
| 253 | 253 | ||
| 254 | /* notify platform of device entry */ | 254 | /* notify platform of device entry */ |
| 255 | if (platform_notify) | 255 | if (platform_notify) |
