]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ACPI: Add interface acpi_pci_root_create()
authorJiang Liu <jiang.liu@linux.intel.com>
Wed, 14 Oct 2015 06:29:39 +0000 (14:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2015 20:18:51 +0000 (22:18 +0200)
commitbc1046813200dc9b03776fa05139eb09b5fdff01
tree390f857746c8ea5e58493629dcbcaa0f3489f8c2
parentcdd91530db118ebdae71beb367b91e2393e00102
PCI/ACPI: Add interface acpi_pci_root_create()

Introduce common interface acpi_pci_root_create() and related data
structures to create PCI root bus for ACPI PCI host bridges. It will
be used to kill duplicated arch specific code for IA64 and x86. It may
also help ARM64 in future.

Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c
include/linux/pci-acpi.h