X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Facpi%2Fscan.c;h=fd39459926b1564c2faa3d367a4dbbf05aa60031;hb=76540969b1cf26349eb8867b57657b03c89025e5;hp=e76b5230f476ddfc8781e49eedd74c73ca3780a0;hpb=ca499fc87ed945094d952da0eb7eea7dbeb1feec;p=~andy%2Flinux diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index e76b5230f47..fd39459926b 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -927,7 +927,7 @@ int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device) } return 0; } -EXPORT_SYMBOL_GPL(acpi_bus_get_device); +EXPORT_SYMBOL(acpi_bus_get_device); int acpi_device_add(struct acpi_device *device, void (*release)(struct device *)) @@ -958,7 +958,6 @@ int acpi_device_add(struct acpi_device *device, INIT_LIST_HEAD(&device->wakeup_list); INIT_LIST_HEAD(&device->physical_node_list); mutex_init(&device->physical_node_lock); - INIT_LIST_HEAD(&device->power_dependent); new_bus_id = kzalloc(sizeof(struct acpi_device_bus_id), GFP_KERNEL); if (!new_bus_id) { @@ -1080,7 +1079,7 @@ int acpi_bus_register_driver(struct acpi_driver *driver) EXPORT_SYMBOL(acpi_bus_register_driver); /** - * acpi_bus_unregister_driver - unregisters a driver with the APIC bus + * acpi_bus_unregister_driver - unregisters a driver with the ACPI bus * @driver: driver to unregister * * Unregisters a driver with the ACPI bus. Searches the namespace for all