diff options
author | Len Brown <len.brown@intel.com> | 2006-06-27 01:50:14 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-28 03:08:46 -0400 |
commit | 2b85e1307fe3a84eca2e1a21c6c857359908dab4 (patch) | |
tree | 880dfc5c67f096c3e90d06e0d8faa4c182d0abaa | |
parent | 4e8662bbd680c54496189ac68f398e847f3ca374 (diff) |
ACPI: static-ize handle_hotplug_event_func()
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/pci/hotplug/acpiphp.h | 1 | ||||
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h index e8fddf943281..be104eced34c 100644 --- a/drivers/pci/hotplug/acpiphp.h +++ b/drivers/pci/hotplug/acpiphp.h | |||
@@ -203,7 +203,6 @@ extern int acpiphp_glue_init (void); | |||
203 | extern void acpiphp_glue_exit (void); | 203 | extern void acpiphp_glue_exit (void); |
204 | extern int acpiphp_get_num_slots (void); | 204 | extern int acpiphp_get_num_slots (void); |
205 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); | 205 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); |
206 | void handle_hotplug_event_func(acpi_handle, u32, void*); | ||
207 | 206 | ||
208 | extern int acpiphp_enable_slot (struct acpiphp_slot *slot); | 207 | extern int acpiphp_enable_slot (struct acpiphp_slot *slot); |
209 | extern int acpiphp_disable_slot (struct acpiphp_slot *slot); | 208 | extern int acpiphp_disable_slot (struct acpiphp_slot *slot); |
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index faf7eed5d963..b3899cfcab6b 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -59,6 +59,7 @@ static LIST_HEAD(bridge_list); | |||
59 | static void handle_hotplug_event_bridge (acpi_handle, u32, void *); | 59 | static void handle_hotplug_event_bridge (acpi_handle, u32, void *); |
60 | static void acpiphp_sanitize_bus(struct pci_bus *bus); | 60 | static void acpiphp_sanitize_bus(struct pci_bus *bus); |
61 | static void acpiphp_set_hpp_values(acpi_handle handle, struct pci_bus *bus); | 61 | static void acpiphp_set_hpp_values(acpi_handle handle, struct pci_bus *bus); |
62 | static void handle_hotplug_event_func(acpi_handle handle, u32 type, void *context); | ||
62 | 63 | ||
63 | 64 | ||
64 | /* | 65 | /* |
@@ -1497,7 +1498,7 @@ static void handle_hotplug_event_bridge(acpi_handle handle, u32 type, void *cont | |||
1497 | * handles ACPI event notification on slots | 1498 | * handles ACPI event notification on slots |
1498 | * | 1499 | * |
1499 | */ | 1500 | */ |
1500 | void handle_hotplug_event_func(acpi_handle handle, u32 type, void *context) | 1501 | static void handle_hotplug_event_func(acpi_handle handle, u32 type, void *context) |
1501 | { | 1502 | { |
1502 | struct acpiphp_func *func; | 1503 | struct acpiphp_func *func; |
1503 | char objname[64]; | 1504 | char objname[64]; |