]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: intel_pmc: Make PCI dependency explicit
authorSinan Kaya <okaya@kernel.org>
Sat, 5 Jan 2019 10:06:00 +0000 (10:06 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Jan 2019 22:17:05 +0000 (23:17 +0100)
commit737ee5824d91292682be7e0c0771ad67992c199f
tree72d6b7d2b88fea03f43f35b1cd8cec8fe62cbf21
parent63680e0d625be8f4bd570d30aaf3562551e179e3
platform/x86: intel_pmc: Make PCI dependency explicit

After commit 5d32a66541c4 (PCI/ACPI: Allow ACPI to be built without
CONFIG_PCI set) dependencies on CONFIG_PCI that previously were
satisfied implicitly through dependencies on CONFIG_ACPI have to be
specified directly.

Some code in intel_pmc relies on PCI for execution. Specify this
in the Kconfig.

[ Andy S: For sake of a quick fix this introduces a new mandatory
  dependency to the driver which may survive without it. Otherwise
  we need to revisit the driver architecture to address this
  properly. ]

Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/Kconfig