diff options
Diffstat (limited to 'include/linux/pci_hotplug.h')
| -rw-r--r-- | include/linux/pci_hotplug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h index 1f5c935eb0de..4c378368215c 100644 --- a/include/linux/pci_hotplug.h +++ b/include/linux/pci_hotplug.h | |||
| @@ -164,6 +164,7 @@ struct hotplug_params { | |||
| 164 | int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp); | 164 | int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp); |
| 165 | bool pciehp_is_native(struct pci_dev *bridge); | 165 | bool pciehp_is_native(struct pci_dev *bridge); |
| 166 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *bridge); | 166 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *bridge); |
| 167 | bool shpchp_is_native(struct pci_dev *bridge); | ||
| 167 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); | 168 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); |
| 168 | int acpi_pci_detect_ejectable(acpi_handle handle); | 169 | int acpi_pci_detect_ejectable(acpi_handle handle); |
| 169 | #else | 170 | #else |
| @@ -178,5 +179,6 @@ static inline int acpi_get_hp_hw_control_from_firmware(struct pci_dev *bridge) | |||
| 178 | return 0; | 179 | return 0; |
| 179 | } | 180 | } |
| 180 | static inline bool pciehp_is_native(struct pci_dev *bridge) { return true; } | 181 | static inline bool pciehp_is_native(struct pci_dev *bridge) { return true; } |
| 182 | static inline bool shpchp_is_native(struct pci_dev *bridge) { return true; } | ||
| 181 | #endif | 183 | #endif |
| 182 | #endif | 184 | #endif |
