2008-02-13 21:35:51

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make acpi_chain_head static

acpi_chain_head can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
cc3a04eb55aeb07d17bb7701b2227079b752508f diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c
index 5479dc0..abec1ca 100644
--- a/drivers/acpi/event.c
+++ b/drivers/acpi/event.c
@@ -110,7 +110,7 @@ static const struct file_operations acpi_system_event_ops = {
#endif /* CONFIG_ACPI_PROC_EVENT */

/* ACPI notifier chain */
-BLOCKING_NOTIFIER_HEAD(acpi_chain_head);
+static BLOCKING_NOTIFIER_HEAD(acpi_chain_head);

int acpi_notifier_call_chain(struct acpi_device *dev, u32 type, u32 data)
{