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>
Showing
- arch/x86/include/asm/pci_x86.h 7 additions, 0 deletionsarch/x86/include/asm/pci_x86.h
- drivers/acpi/Kconfig 0 additions, 1 deletiondrivers/acpi/Kconfig
- drivers/acpi/Makefile 1 addition, 1 deletiondrivers/acpi/Makefile
- drivers/acpi/internal.h 5 additions, 0 deletionsdrivers/acpi/internal.h
- drivers/pci/Makefile 1 addition, 1 deletiondrivers/pci/Makefile
- include/acpi/acpi_drivers.h 7 additions, 0 deletionsinclude/acpi/acpi_drivers.h
- include/linux/acpi.h 7 additions, 0 deletionsinclude/linux/acpi.h
- include/linux/pci.h 4 additions, 0 deletionsinclude/linux/pci.h
Loading
Please register or sign in to comment