diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c index 7f08dd68c52..f9f8a08827f 100644 --- a/drivers/acpi/container.c +++ b/drivers/acpi/container.c @@ -49,7 +49,7 @@ static int container_device_attach(struct acpi_device *device, return 1; } -static struct acpi_scan_handler container_device_handler = { +static struct acpi_scan_handler container_handler = { .ids = container_device_ids, .attach = container_device_attach, .hotplug = { @@ -60,5 +60,5 @@ static struct acpi_scan_handler container_device_handler = { void __init acpi_container_init(void) { - acpi_scan_add_handler(&container_device_handler); + acpi_scan_add_handler_with_hotplug(&container_handler, "container"); } |