From patchwork Wed Oct 14 18:43:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7397491 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6EC8C9F302 for ; Wed, 14 Oct 2015 18:43:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F8E920819 for ; Wed, 14 Oct 2015 18:43:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 517DE2080B for ; Wed, 14 Oct 2015 18:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbbJNSnq (ORCPT ); Wed, 14 Oct 2015 14:43:46 -0400 Received: from lists.s-osg.org ([54.187.51.154]:53922 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbbJNSnp (ORCPT ); Wed, 14 Oct 2015 14:43:45 -0400 Received: from snow.seri.co.uk (cpc9-slam5-2-0-cust824.2-4.cable.virginm.net [81.108.163.57]) by lists.s-osg.org (Postfix) with ESMTPSA id 0652D46270; Wed, 14 Oct 2015 11:43:43 -0700 (PDT) From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: rui.zhang@intel.com, edubezval@gmail.com, linux-pm@vger.kernel.org, javier@osg.samsung.com, Luis de Bethencourt Subject: [PATCH v2] thermal: db8500_cpufreq_cooling: Compile with COMPILE_TEST Date: Wed, 14 Oct 2015 19:43:29 +0100 Message-Id: <1444848209-17552-1-git-send-email-luisbg@osg.samsung.com> X-Mailer: git-send-email 2.5.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This driver only has runtime but no build time dependencies, so it can be built for testing purposes if the Kconfig COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that drivers are not affected by changes that could cause build regressions. Signed-off-by: Luis de Bethencourt --- Hi, This is the second version of: https://lkml.org/lkml/2015/10/14/691 After removing COMPILE_TEST for INTEL_QUARK_DTS_THERMAL, only DB8500_CPUFREQ_COOLING remains. Which is why I have changed the subject line of the commit message. Sorry for the kbuild test robot failure in the first version. Thanks, Luis drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a94ebb5..cdaf469 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -252,7 +252,7 @@ config TEGRA_SOCTHERM config DB8500_CPUFREQ_COOLING tristate "DB8500 cpufreq cooling" - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST depends on CPU_THERMAL default y help