Skip to contentSkip to conversation

make acpi_chain_head static

PATCH New Adrian Bunk 1 participant 1 message Feb 13, 2008 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make acpi_chain_head static

acpi_chain_head can become static.

---
cc3a04eb55aeb07d17bb7701b2227079b752508f diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c index 5479dc0..abec1ca 100644

drivers/acpi/event.c +1 -1
@@ -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)
 {