PCI/ACPI: Move _HPP & _HPX functions to pci-acpi.c
authorKrzysztof Wilczynski <kw@linux.com>
Tue, 27 Aug 2019 09:49:50 +0000 (11:49 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2019 20:25:53 +0000 (15:25 -0500)
commit8c3aac6e1b6146ce771b1cabd78e593136d3e5f2
treea9d042159b6dfbf19e168b94a028cf903c391fa1
parente2797ad31fb40f4ff59ebc4314d6f000d713bad9
PCI/ACPI: Move _HPP & _HPX functions to pci-acpi.c

Move program_hpx_type0(), program_hpx_type1(), etc., and enums
hpx_type3_dev_type, hpx_type3_fn_type and hpx_type3_cfg_loc to
drivers/pci/pci-acpi.c as these functions and enums are ACPI-specific.

Move structs hpx_type0, hpx_type1, hpx_type2 and hpx_type3 to
drivers/pci/pci.h as these are shared between drivers/pci/pci-acpi.c and
drivers/pci/probe.c.

Link: https://lore.kernel.org/r/20190827094951.10613-3-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c
drivers/pci/pci.h
drivers/pci/probe.c
include/linux/pci_hotplug.h