]> git.baikalelectronics.ru Git - kernel.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)
commitabfa6b68e873097383f05b9b1b01e75ab547ec9f
tree72d6b7d2b88fea03f43f35b1cd8cec8fe62cbf21
parentb00b8fa643ef67fde91e3451007e92cc9d3aadb9
platform/x86: intel_pmc: Make PCI dependency explicit

After commit e1482fc8f54d (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: e1482fc8f54de ("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