From foo@baz Tue Apr 9 12:12:43 2002 To: Greg KH Date: 28 Apr 2003 13:35:47 -07:00 From: greg@kroah.com Subject: acpi: change kobject_register to kobject_add to fix logic error. diff -Nru a/drivers/acpi/scan.c b/drivers/acpi/scan.c --- a/drivers/acpi/scan.c Mon Apr 28 13:36:15 2003 +++ b/drivers/acpi/scan.c Mon Apr 28 13:36:15 2003 @@ -69,7 +69,7 @@ device->kobj.parent = &parent->kobj; device->kobj.ktype = &ktype_acpi_ns; device->kobj.kset = &acpi_namespace_kset; - kobject_register(&device->kobj); + kobject_add(&device->kobj); } static int