aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci_hotplug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pci_hotplug.h')
-rw-r--r--include/linux/pci_hotplug.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h
index 1cdef831737..652ba797696 100644
--- a/include/linux/pci_hotplug.h
+++ b/include/linux/pci_hotplug.h
@@ -227,12 +227,10 @@ struct hotplug_params {
227#ifdef CONFIG_ACPI 227#ifdef CONFIG_ACPI
228#include <acpi/acpi.h> 228#include <acpi/acpi.h>
229#include <acpi/acpi_bus.h> 229#include <acpi/acpi_bus.h>
230int acpi_get_hp_params_from_firmware(struct pci_dev *dev, 230int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp);
231 struct hotplug_params *hpp);
232int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); 231int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags);
233int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); 232int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
234int acpi_pci_detect_ejectable(acpi_handle handle); 233int acpi_pci_detect_ejectable(acpi_handle handle);
235#define pci_get_hp_params(dev, hpp) acpi_get_hp_params_from_firmware(dev, hpp)
236#else 234#else
237static inline int pci_get_hp_params(struct pci_dev *dev, 235static inline int pci_get_hp_params(struct pci_dev *dev,
238 struct hotplug_params *hpp) 236 struct hotplug_params *hpp)