From: Kristen Accardi Date: Mon, 10 Jul 2006 18:19:15 +0000 (-0400) Subject: ACPI: ACPI_DOCK: Initialize the atomic notifier list X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07a18684c92c0156f87ea158b5adc3022485f82a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ACPI: ACPI_DOCK: Initialize the atomic notifier list Signed-off-by: Kristen Carlson Accardi Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 510a9452429..1c0a39d8b04 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -627,6 +627,7 @@ static int dock_add(acpi_handle handle) INIT_LIST_HEAD(&dock_station->hotplug_devices); spin_lock_init(&dock_station->dd_lock); spin_lock_init(&dock_station->hp_lock); + ATOMIC_INIT_NOTIFIER_HEAD(&dock_notifier_list); /* Find dependent devices */ acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,