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)
commit90cc0c3cc7092ea4c7871fdd5fb00a9ba62842e3
tree8593d15501ff0b65aadbe7840e9ce3d600469508
parentbed4e9cfab93a0f3d0144cb919820e6d5c40b8b1
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