Re: [PATCH] cpufreq: cppc: add ACPI_PROCESSOR dependency

From: Viresh Kumar
Date: Tue Feb 14 2017 - 22:57:28 EST


On 14-02-17, 22:19, Arnd Bergmann wrote:
> Without the Kconfig dependency, we can get this warning:
>
> warning: ACPI_CPPC_CPUFREQ selects ACPI_CPPC_LIB which has unmet direct dependencies (ACPI && ACPI_PROCESSOR)
>
> Fixes: 5477fb3bd1e8 ("ACPI / CPPC: Add a CPUFreq driver for use with CPPC")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/cpufreq/Kconfig.arm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index 6d87742fc5aa..74fa5c5904d3 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -268,7 +268,7 @@ config ARM_PXA2xx_CPUFREQ
>
> config ACPI_CPPC_CPUFREQ
> tristate "CPUFreq driver based on the ACPI CPPC spec"
> - depends on ACPI
> + depends on ACPI_PROCESSOR
> select ACPI_CPPC_LIB
> default n
> help

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh