mbox series

[v3,00/11] Specify CONFIG_PCI dependency explicitly

Message ID 20181223232521.11320-1-okaya@kernel.org (mailing list archive)
Headers show
Series Specify CONFIG_PCI dependency explicitly | expand

Message

Sinan Kaya Dec. 23, 2018, 11:25 p.m. UTC
This patchset fixes fallout of commit 5d32a66541c4 ("PCI/ACPI: Allow
ACPI to be built without CONFIG_PCI set") which is part of Rafael's
acpi pull for v4.21.

Several drivers depend on PCI but do not call that out in their
Kconfig. This causes linker and compilation errors when CONFIG_ACPI
is set but CONFIG_PCI is unset.

Diff from v2:
Rework per Rafael's feedback:

Remove LPSS driver from compilation when CONFIG_PCI is unset
Remove intel_ipc driver from compilation when CONFIG_PCI is unset
Remove intel int340x and int3406 drivers from compilation when CONFIG_PCI
is unset.

Sinan Kaya (11):
  ACPI / LPSS: Make PCI dependency explicit
  ata: make PCI dependency explicit for PATA_ACPI
  vga-switcheroo: make PCI dependency explicit
  platform/x86: intel_ips: make PCI dependency explicit
  platform/x86: intel_pmc: Make PCI dependency explicit
  apple-gmux: Make PCI dependency explicit
  drivers: thermal: int3406_thermal: Make PCI dependency explicit
  ASoC: Intel: atom: Make PCI dependency explicit
  mmc: add PCI dependency into IOSF_MBI
  x86: select IOSF_MBI only when CONFIG_PCI is set
  drivers: thermal: int340x_thermal: Make PCI dependency explicit

 arch/x86/Kconfig                              | 2 +-
 drivers/acpi/Makefile                         | 3 ++-
 drivers/acpi/internal.h                       | 4 ++++
 drivers/ata/Kconfig                           | 2 +-
 drivers/gpu/vga/Kconfig                       | 1 +
 drivers/mmc/host/Kconfig                      | 2 +-
 drivers/platform/x86/Kconfig                  | 5 +++--
 drivers/thermal/intel/int340x_thermal/Kconfig | 4 ++--
 sound/soc/intel/Kconfig                       | 2 +-
 9 files changed, 16 insertions(+), 9 deletions(-)