diff options
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r-- | drivers/acpi/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index e550da684a47..1b4cf984b081 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -755,7 +755,7 @@ static int __init acpi_init(void) | |||
755 | return -ENODEV; | 755 | return -ENODEV; |
756 | } | 756 | } |
757 | 757 | ||
758 | acpi_kobj = kobject_create_and_add("acpi", &firmware_kset->kobj); | 758 | acpi_kobj = kobject_create_and_add("acpi", firmware_kobj); |
759 | if (!acpi_kobj) { | 759 | if (!acpi_kobj) { |
760 | printk(KERN_WARNING "%s: kset create error\n", __FUNCTION__); | 760 | printk(KERN_WARNING "%s: kset create error\n", __FUNCTION__); |
761 | acpi_kobj = NULL; | 761 | acpi_kobj = NULL; |