From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755205AbcB2Q0U (ORCPT ); Mon, 29 Feb 2016 11:26:20 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33401 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754923AbcB2Q0Q (ORCPT ); Mon, 29 Feb 2016 11:26:16 -0500 Date: Mon, 29 Feb 2016 21:56:11 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] cpufreq: qoriq: allow building as module with THERMAL=m Message-ID: <20160229162611.GU2791@vireshk-i7> References: <1456761867-1742824-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456761867-1742824-1-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-02-16, 17:04, Arnd Bergmann wrote: > My previous patch to avoid link errors with the qoriq cpufreq > driver disallowed all of the broken cases, but also prevented > the driver from being built when CONFIG_THERMAL is a module. > > This changes the dependency to allow the cpufreq driver to > also be a module in this case, just not built-in. > > Signed-off-by: Arnd Bergmann > Fixes: cpufreq: qoriq depends on thermal > --- > > If possible, please fold this change directly into the previous > commit > > drivers/cpufreq/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig > index ca05037dd565..d5e11d24f72b 100644 > --- a/drivers/cpufreq/Kconfig > +++ b/drivers/cpufreq/Kconfig > @@ -297,7 +297,7 @@ endif > config QORIQ_CPUFREQ > tristate "CPU frequency scaling driver for Freescale QorIQ SoCs" > depends on OF && COMMON_CLK && (PPC_E500MC || ARM) > - depends on !CPU_THERMAL || THERMAL=y > + depends on !CPU_THERMAL || THERMAL > select CLK_QORIQ > help > This adds the CPUFreq driver support for Freescale QorIQ SoCs Acked-by: Viresh Kumar -- viresh