PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set
authorSinan Kaya <okaya@kernel.org>
Wed, 19 Dec 2018 22:46:56 +0000 (22:46 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Dec 2018 09:19:49 +0000 (10:19 +0100)
commit5d32a66541c4683456507481a0944ed2985e75c7
tree56eda1da3271a5d0c51e3963e9d868e9f810487c
parentbd23fac3eaaa8bd79c02a2f139f68ac6424a9a7c
PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set

We are compiling PCI code today for systems with ACPI and no PCI
device present. Remove the useless code and reduce the tight
dependency.

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com> # PCI parts
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/asm/pci_x86.h
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/internal.h
drivers/pci/Makefile
include/acpi/acpi_drivers.h
include/linux/acpi.h
include/linux/pci.h