From patchwork Mon Feb 29 16:04:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102644 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1333104lbc; Mon, 29 Feb 2016 08:05:02 -0800 (PST) X-Received: by 10.66.139.137 with SMTP id qy9mr22967138pab.57.1456761902472; Mon, 29 Feb 2016 08:05:02 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f88si43788877pfj.136.2016.02.29.08.05.02; Mon, 29 Feb 2016 08:05:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751457AbcB2QFB (ORCPT + 11 others); Mon, 29 Feb 2016 11:05:01 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:60642 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbcB2QFA (ORCPT ); Mon, 29 Feb 2016 11:05:00 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue103) with ESMTPA (Nemesis) id 0Mb2OB-1aLm8U0NrP-00KhQt; Mon, 29 Feb 2016 17:04:29 +0100 From: Arnd Bergmann To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] cpufreq: qoriq: allow building as module with THERMAL=m Date: Mon, 29 Feb 2016 17:04:20 +0100 Message-Id: <1456761867-1742824-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:NUC7nbW2BIcxE47rICmeNJKuPX/ATKSBQdL7s/EM748Q+k4ZodU PzzsLg7+wXEeBVzKM3UJCPotRZXsaoJkgOlyvpWv5k3uSI+FauPP1NWGAahLjxAUrrRsrJV WvqxhMpYLDbe/gS5MeSA9vzYThZ3V0mQGm5j59pi2WKefcDy7EvwC1EMzqqMs7UrOoLnc7f I8ESiRAKBg5U8aNor62tQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:qXvYOLu75d0=:+ue3vA+y/WQaNlg1vcd247 +OdVYx8k1MIWmwHQ9g62URp+XOzeF058cxMaz4YwmPsToX5cSectzXb7SWMDDmJ3NkZOLxOjP Vwyr6odbsifWnIxuANYBBJtH528+hoPH0IOXv6DFyXvWhcSKcIN8pCZkavGuRP4OhUmUtkMdw G3Uf3Z08WeEJFnIJh+YaCZtwnSK2iOXVndXNE1gUgqM1vXTJpBlSY8EJNYykOjtRRCKW1kzVg tCyKTVbPYkZCtZyaQCfEUbpi1KJmWt/ouXhTtCVadlFesnrIMaZCJ7UJM5Di85fbTGPPQ1CWC CrmQU4KnhpkS8gzQphAFmsF/FtXGHj26FE0Wwbe/Q5p21ijVwMoKviaCdioEx95KcuyMkP8n0 RCTjcvyhKAVe2MKhJMUZYk3WlK+S2jhp37sSQ1MH8VVLM1DKzIWEu870EhRWL+1Brc6tmPTmc q/Ywk55TEqz2kAPoFrNtgUXKReg/SZXK/MwMm6C8/mr5WJH2Gx6WVN/jrYAuhg5JDZyjOdRMo 4Plx1YtvZT5h67EuQaLZnGX3xiVY5ngKQC/aAsH0QMjxBFDVoMzR67C8Di62VYn4CJGrvanbl /dVK5drYbdIlSBzgm8M3icHN1/fLZ96yJ+dMRlomhO9qmKdSP6geOkQAAhap5/Nr9c/+e2uZx E2CpPvmF3Td1Cxyg3vsrxQc67Z5iFn+77iDVM0npayCpY4jRRKi0/iql87VBGpNV4hf4= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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(-) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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