[2.6 patch] make drivers/acpi/event.c:acpi_event_seqnum static

From: Adrian Bunk
Date: Sun Jul 29 2007 - 10:58:47 EST


This patch makes the needlessly global "acpi_event_seqnum" static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---
--- linux-2.6.23-rc1-mm1/drivers/acpi/event.c.old 2007-07-26 02:32:59.000000000 +0200
+++ linux-2.6.23-rc1-mm1/drivers/acpi/event.c 2007-07-26 02:33:07.000000000 +0200
@@ -108,7 +108,7 @@ static const struct file_operations acpi
};

#ifdef CONFIG_NET
-unsigned int acpi_event_seqnum;
+static unsigned int acpi_event_seqnum;
struct acpi_genl_event {
acpi_device_class device_class;
char bus_id[15];

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/