From patchwork Wed Oct 14 16:16:20 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: 7396671 X-Patchwork-Delegate: rui.zhang@intel.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 498709F36A for ; Wed, 14 Oct 2015 16:16:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64F2320819 for ; Wed, 14 Oct 2015 16:16:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 26423206CD for ; Wed, 14 Oct 2015 16:16:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754293AbbJNQQd (ORCPT ); Wed, 14 Oct 2015 12:16:33 -0400 Received: from lists.s-osg.org ([54.187.51.154]:53305 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754284AbbJNQQc (ORCPT ); Wed, 14 Oct 2015 12:16:32 -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 744FE46270; Wed, 14 Oct 2015 09:16:29 -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] thermal: kconfig: When possible, compile drivers with COMPILE_TEST Date: Wed, 14 Oct 2015 17:16:20 +0100 Message-Id: <1444839380-29236-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=unavailable 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 These drivers only have runtime but no build time dependencies, so they 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 --- drivers/thermal/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a94ebb5..844c219 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 @@ -309,7 +309,7 @@ config INTEL_SOC_DTS_THERMAL config INTEL_QUARK_DTS_THERMAL tristate "Intel Quark DTS thermal driver" - depends on X86_INTEL_QUARK + depends on X86_INTEL_QUARK || COMPILE_TEST help Enable this to register Intel Quark SoC (e.g. X1000) platform digital temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.