Home
last modified time | relevance | path

Searched hist:f75bf693 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A DKconfigf75bf693 Wed Apr 21 08:49:39 CDT 2021 Arnd Bergmann <arnd@arndb.de> platform/x86: intel_pmc_core: add ACPI dependency

The driver now fails to build without ACPI:

drivers/platform/x86/intel_pmc_core.c: In function 'pmc_core_get_tgl_lpm_reqs':
drivers/platform/x86/intel_pmc_core.c:617:41: error: invalid use of undefined type 'struct acpi_device'
617 | out_obj = acpi_evaluate_dsm(adev->handle, &s0ix_dsm_guid, 0,

This could probably be made optional, but it won't be used without
ACPI in practice, so just add a Kconfig dependency.

Fixes: 428131364f00 ("platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210421134957.3329062-1-arnd@kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>