diff options
Diffstat (limited to 'include/linux/pci_hotplug.h')
-rw-r--r-- | include/linux/pci_hotplug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h index 0a7c2401d945..1cdef8317377 100644 --- a/include/linux/pci_hotplug.h +++ b/include/linux/pci_hotplug.h | |||
@@ -232,6 +232,15 @@ int acpi_get_hp_params_from_firmware(struct pci_dev *dev, | |||
232 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); | 232 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); |
233 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); | 233 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); |
234 | int acpi_pci_detect_ejectable(acpi_handle handle); | 234 | int 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 | ||
237 | static inline int pci_get_hp_params(struct pci_dev *dev, | ||
238 | struct hotplug_params *hpp) | ||
239 | { | ||
240 | return -ENODEV; | ||
241 | } | ||
235 | #endif | 242 | #endif |
243 | |||
244 | void pci_configure_slot(struct pci_dev *dev); | ||
236 | #endif | 245 | #endif |
237 | 246 | ||