Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Wed, 19 Apr 2006 00:10:26 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] make pci/hotplug/acpiphp_glue.c:handle_hotplug_event_func() static |
| |
On Tue, Apr 18, 2006 at 03:14:23AM -0700, Andrew Morton wrote: >... > Changes since 2.6.17-rc1-mm2: >... > +acpiphp-use-new-dock-driver.patch >... > ACPI fixes and features >...
handle_hotplug_event_func() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/pci/hotplug/acpiphp.h | 1 - drivers/pci/hotplug/acpiphp_glue.c | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-)
--- linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp.h.old 2006-04-18 22:09:47.000000000 +0200 +++ linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp.h 2006-04-18 22:09:58.000000000 +0200 @@ -203,7 +203,6 @@ 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); --- linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp_glue.c.old 2006-04-18 22:10:26.000000000 +0200 +++ linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp_glue.c 2006-04-18 22:11:01.000000000 +0200 @@ -59,6 +59,8 @@ 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); /* @@ -1493,7 +1495,8 @@ * 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]; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |