|
@@ -181,4 +181,9 @@ static inline int acpi_get_hp_hw_control_from_firmware(struct pci_dev *bridge)
|
|
static inline bool pciehp_is_native(struct pci_dev *bridge) { return true; }
|
|
static inline bool pciehp_is_native(struct pci_dev *bridge) { return true; }
|
|
static inline bool shpchp_is_native(struct pci_dev *bridge) { return true; }
|
|
static inline bool shpchp_is_native(struct pci_dev *bridge) { return true; }
|
|
#endif
|
|
#endif
|
|
|
|
+
|
|
|
|
+static inline bool hotplug_is_native(struct pci_dev *bridge)
|
|
|
|
+{
|
|
|
|
+ return pciehp_is_native(bridge) || shpchp_is_native(bridge);
|
|
|
|
+}
|
|
#endif
|
|
#endif
|