diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-26 19:35:58 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-26 19:35:58 -0500 |
commit | 939de1d69c5fb0da0cfe05a1a7c981421cf876f7 (patch) | |
tree | 3ca1c6457e1c1ae4c11adab60e94d666841983aa /include/acpi | |
parent | fb455792d91469fe556b68f1baa9ff5493432be8 (diff) | |
parent | 4f535093cf8f6da8cfda7c36c2c1ecd2e9586ee4 (diff) |
Merge branch 'pci/yinghai-root-bus-hotplug' into next
* pci/yinghai-root-bus-hotplug:
PCI: Put pci_dev in device tree as early as possible
PCI: Skip attaching driver in device_add()
PCI: acpiphp: Keep driver loaded even if no slots found
PCI/ACPI: Print info if host bridge notify handler installation fails
PCI: acpiphp: Move host bridge hotplug to pci_root.c
PCI/ACPI: acpiphp: Rename alloc_acpiphp_hp_work() to alloc_acpi_hp_work()
PCI: Make device create/destroy logic symmetric
PCI: Fix reference count leak in pci_dev_present()
PCI: Set pci_dev dev_node early so IOAPIC irq_descs are allocated locally
PCI: Add root bus children dev's res to fail list
PCI: acpiphp: Add is_hotplug_bridge detection
Conflicts:
drivers/pci/pci.h
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 9 | ||||
-rw-r--r-- | include/acpi/acpiosxf.h | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 526d66384c09..5ce8d5e86734 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -310,6 +310,15 @@ struct acpi_eject_event { | |||
310 | u32 event; | 310 | u32 event; |
311 | }; | 311 | }; |
312 | 312 | ||
313 | struct acpi_hp_work { | ||
314 | struct work_struct work; | ||
315 | acpi_handle handle; | ||
316 | u32 type; | ||
317 | void *context; | ||
318 | }; | ||
319 | void alloc_acpi_hp_work(acpi_handle handle, u32 type, void *context, | ||
320 | void (*func)(struct work_struct *work)); | ||
321 | |||
313 | extern struct kobject *acpi_kobj; | 322 | extern struct kobject *acpi_kobj; |
314 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 323 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
315 | void acpi_bus_private_data_handler(acpi_handle, void *); | 324 | void acpi_bus_private_data_handler(acpi_handle, void *); |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 43152742b46f..66f1fd70e8c2 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -193,8 +193,6 @@ void acpi_os_fixed_event_count(u32 fixed_event_number); | |||
193 | /* | 193 | /* |
194 | * Threads and Scheduling | 194 | * Threads and Scheduling |
195 | */ | 195 | */ |
196 | extern struct workqueue_struct *kacpi_hotplug_wq; | ||
197 | |||
198 | acpi_thread_id acpi_os_get_thread_id(void); | 196 | acpi_thread_id acpi_os_get_thread_id(void); |
199 | 197 | ||
200 | acpi_status | 198 | acpi_status |