]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45b2bf4dfc5574302866ea5d2a1b38d777c42b53
treea9d042159b6dfbf19e168b94a028cf903c391fa1
parent2dab152dda610c9ed40527f4a54a4d8bdad60c6f
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