lkml.org 
[lkml]   [2015]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] platform: x86: PMC IPC depends on ACPI
From
Date
On 09/25/15 09:38, Lee Jones wrote:
> 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>

Works for me. Thanks.

Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
> drivers/platform/x86/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index c69bb70..744cb80 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -914,6 +914,7 @@ config PVPANIC
>
> config INTEL_PMC_IPC
> tristate "Intel PMC IPC Driver"
> + depends on ACPI
> ---help---
> This driver provides support for PMC control on some Intel platforms.
> The PMC is an ARC processor which defines IPC commands for communication
>


--
~Randy


\
 
 \ /
  Last update: 2015-09-26 04:21    [W:0.057 / U:6.828 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site