* [patch] acpi: init dock notifier list
@ 2006-07-07 22:06 Kristen Accardi
0 siblings, 0 replies; only message in thread
From: Kristen Accardi @ 2006-07-07 22:06 UTC (permalink / raw)
To: linux-acpi; +Cc: len.brown, akpm, linux-kernel
Initialize the atomic notifier list
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
---
drivers/acpi/dock.c | 1 +
1 file changed, 1 insertion(+)
--- 2.6-mm.orig/drivers/acpi/dock.c
+++ 2.6-mm/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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-07 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 22:06 [patch] acpi: init dock notifier list Kristen Accardi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.