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>
Showing
- drivers/pci/hotplug/acpi_pcihp.c 2 additions, 2 deletionsdrivers/pci/hotplug/acpi_pcihp.c
- drivers/pci/hotplug/shpchp.h 0 additions, 1 deletiondrivers/pci/hotplug/shpchp.h
- drivers/pci/hotplug/shpchp_core.c 1 addition, 13 deletionsdrivers/pci/hotplug/shpchp_core.c
- drivers/pci/pci-acpi.c 29 additions, 0 deletionsdrivers/pci/pci-acpi.c
- include/linux/pci_hotplug.h 2 additions, 0 deletionsinclude/linux/pci_hotplug.h
- include/linux/pci_ids.h 1 addition, 0 deletionsinclude/linux/pci_ids.h
Loading
Please register or sign in to comment