platform: x86: PMC IPC depends on ACPI
authorLee Jones <lee.jones@linaro.org>
Fri, 25 Sep 2015 16:31:12 +0000 (17:31 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:16 +0000 (17:19 +0000)
commit79ae6bb15945f9b7f3e91db3d68f1b77c4b1451c
tree39466b15b168da221399c71e469e174c5544ff39
parent5b855ff3f7d3f95c8c06e690d61ee3e0eddaec90
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>
drivers/platform/x86/Kconfig