diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-09-25 12:31:12 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 13:19:16 -0400 |
commit | 79ae6bb15945f9b7f3e91db3d68f1b77c4b1451c (patch) | |
tree | 39466b15b168da221399c71e469e174c5544ff39 /drivers/platform/x86 | |
parent | 5b855ff3f7d3f95c8c06e690d61ee3e0eddaec90 (diff) |
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: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index c69bb703f483..744cb80fccbc 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -914,6 +914,7 @@ config PVPANIC | |||
914 | 914 | ||
915 | config INTEL_PMC_IPC | 915 | config INTEL_PMC_IPC |
916 | tristate "Intel PMC IPC Driver" | 916 | tristate "Intel PMC IPC Driver" |
917 | depends on ACPI | ||
917 | ---help--- | 918 | ---help--- |
918 | This driver provides support for PMC control on some Intel platforms. | 919 | This driver provides support for PMC control on some Intel platforms. |
919 | The PMC is an ARC processor which defines IPC commands for communication | 920 | The PMC is an ARC processor which defines IPC commands for communication |