ACPI: static-ize handle_hotplug_event_func()
authorLen Brown <len.brown@intel.com>
Tue, 27 Jun 2006 05:50:14 +0000 (01:50 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 28 Jun 2006 07:08:46 +0000 (03:08 -0400)
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pci/hotplug/acpiphp.h
drivers/pci/hotplug/acpiphp_glue.c

index e8fddf943281b52853f4de2429dc7a7d1e2e42dc..be104eced34c63ffea077e1e8d64f93cad1e56e5 100644 (file)
@@ -203,7 +203,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);
index faf7eed5d9630f2a829b6eb9011f96b2db6eeed0..b3899cfcab6b0adcac87434f4cfed6a66bf141ae 100644 (file)
@@ -59,6 +59,7 @@ 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);
 
 
 /*
@@ -1497,7 +1498,7 @@ static void handle_hotplug_event_bridge(acpi_handle handle, u32 type, void *cont
  * 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];