]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0776386189bf331384677fc0dcf211a90da9f616
tree56eda1da3271a5d0c51e3963e9d868e9f810487c
parent6273a41be00de1fab999eb1f4ebd09af7e3425ee
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