]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: shpchp: Add shpchp_is_native()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 31 May 2018 16:42:11 +0000 (11:42 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Jun 2018 17:08:06 +0000 (12:08 -0500)
commit55f2c7db2468f84d802315d2790be92929233c67
tree8593d15501ff0b65aadbe7840e9ce3d600469508
parent1d75f6edfa33b1f171afe230578669680d49df49
PCI: shpchp: Add shpchp_is_native()

In the same way we do for pciehp, add shpchp_is_native(), which returns
true if the bridge should be handled by the native SHPC driver.  Then
convert the driver to use this function.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpi_pcihp.c
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/pci-acpi.c
include/linux/pci_hotplug.h
include/linux/pci_ids.h