diff options
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index e6cf096498be..36faa9a8e18f 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -237,17 +237,8 @@ static inline int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev) | |||
237 | return retval; | 237 | return retval; |
238 | return pciehp_acpi_slot_detection_check(dev); | 238 | return pciehp_acpi_slot_detection_check(dev); |
239 | } | 239 | } |
240 | |||
241 | static inline int pciehp_get_hp_params_from_firmware(struct pci_dev *dev, | ||
242 | struct hotplug_params *hpp) | ||
243 | { | ||
244 | if (ACPI_FAILURE(acpi_get_hp_params_from_firmware(dev->bus, hpp))) | ||
245 | return -ENODEV; | ||
246 | return 0; | ||
247 | } | ||
248 | #else | 240 | #else |
249 | #define pciehp_firmware_init() do {} while (0) | 241 | #define pciehp_firmware_init() do {} while (0) |
250 | #define pciehp_get_hp_hw_control_from_firmware(dev) 0 | 242 | #define pciehp_get_hp_hw_control_from_firmware(dev) 0 |
251 | #define pciehp_get_hp_params_from_firmware(dev, hpp) (-ENODEV) | ||
252 | #endif /* CONFIG_ACPI */ | 243 | #endif /* CONFIG_ACPI */ |
253 | #endif /* _PCIEHP_H */ | 244 | #endif /* _PCIEHP_H */ |