提交 79ae6bb1 编写于 作者: L Lee Jones

platform: x86: PMC IPC depends on ACPI

This patch solves:

on x86_64:

when CONFIG_ACPI is not enabled:

../drivers/mfd/intel_soc_pmic_bxtwc.c: In function 'bxtwc_probe':
../drivers/mfd/intel_soc_pmic_bxtwc.c:342:2:
    error: implicit declaration of function 'acpi_evaluate_integer' [-Werror=implicit-function-declaration]
        status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv);
        ^
Reported-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 5b855ff3
...@@ -914,6 +914,7 @@ config PVPANIC ...@@ -914,6 +914,7 @@ config PVPANIC
config INTEL_PMC_IPC config INTEL_PMC_IPC
tristate "Intel PMC IPC Driver" tristate "Intel PMC IPC Driver"
depends on ACPI
---help--- ---help---
This driver provides support for PMC control on some Intel platforms. This driver provides support for PMC control on some Intel platforms.
The PMC is an ARC processor which defines IPC commands for communication The PMC is an ARC processor which defines IPC commands for communication
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册