X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fbase%2Fcore.c;h=52d1e71f2a4c857e4d64dda4783a78c50168b890;hb=97ae69fdbaa71a8f7dbc20bf10fb349d1759152f;hp=64c150b5a883ade1791905d8b9b6cfe3d5ceb4df;hpb=7c71448b8aa80123fc521563d5f7c63a099d97ab;p=linux-2.6-omap-h63xx.git diff --git a/drivers/base/core.c b/drivers/base/core.c index 64c150b5a88..52d1e71f2a4 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -906,7 +906,7 @@ int device_add(struct device *dev) if (dev->class) { down(&dev->class->p->sem); /* tie the class to the device */ - list_add_tail(&dev->node, &dev->class->p->devices); + list_add_tail(&dev->node, &dev->class->p->class_devices); /* notify any interfaces that the device is here */ list_for_each_entry(class_intf, &dev->class->p->interfaces,