From: Adrian Bunk handle_hotplug_event_func() can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- drivers/pci/hotplug/acpiphp.h | 1 - drivers/pci/hotplug/acpiphp_glue.c | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff -puN drivers/pci/hotplug/acpiphp_glue.c~acpiphp-use-new-dock-driver-fix drivers/pci/hotplug/acpiphp_glue.c --- devel/drivers/pci/hotplug/acpiphp_glue.c~acpiphp-use-new-dock-driver-fix 2006-04-18 23:55:23.000000000 -0700 +++ devel-akpm/drivers/pci/hotplug/acpiphp_glue.c 2006-04-18 23:55:23.000000000 -0700 @@ -59,6 +59,8 @@ static LIST_HEAD(bridge_list); static void handle_hotplug_event_bridge (acpi_handle, u32, void *); static void acpiphp_sanitize_bus(struct pci_bus *bus); static void acpiphp_set_hpp_values(acpi_handle handle, struct pci_bus *bus); +static void handle_hotplug_event_func(acpi_handle handle, u32 type, + void *context); /* @@ -1386,7 +1388,8 @@ static void handle_hotplug_event_bridge( * handles ACPI event notification on slots * */ -void handle_hotplug_event_func(acpi_handle handle, u32 type, void *context) +static void handle_hotplug_event_func(acpi_handle handle, u32 type, + void *context) { struct acpiphp_func *func; char objname[64]; diff -puN drivers/pci/hotplug/acpiphp.h~acpiphp-use-new-dock-driver-fix drivers/pci/hotplug/acpiphp.h --- devel/drivers/pci/hotplug/acpiphp.h~acpiphp-use-new-dock-driver-fix 2006-04-18 23:55:23.000000000 -0700 +++ devel-akpm/drivers/pci/hotplug/acpiphp.h 2006-04-18 23:55:23.000000000 -0700 @@ -198,7 +198,6 @@ extern int acpiphp_glue_init (void); extern void acpiphp_glue_exit (void); extern int acpiphp_get_num_slots (void); typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); -void handle_hotplug_event_func(acpi_handle, u32, void*); extern int acpiphp_enable_slot (struct acpiphp_slot *slot); extern int acpiphp_disable_slot (struct acpiphp_slot *slot); _