From patchwork Thu Sep 10 04:11:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 7150381 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 13EB9BF036 for ; Thu, 10 Sep 2015 04:12:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 534E0208D6 for ; Thu, 10 Sep 2015 04:12:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68245209D8 for ; Thu, 10 Sep 2015 04:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753968AbbIJEMV (ORCPT ); Thu, 10 Sep 2015 00:12:21 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33893 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753915AbbIJEMP (ORCPT ); Thu, 10 Sep 2015 00:12:15 -0400 Received: by padhy16 with SMTP id hy16so30217287pad.1; Wed, 09 Sep 2015 21:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BDstKxX3gsnJeJTion3+bNEA/8a1+BqcWXOrVYmElYs=; b=H/BIkA7DgeHMhzABDTyPZ02ChUdTu2IEIkD/fPJbbUORyjkwnG+MTLeDLnBSdU260F 5NUFoxcShx0bbJDHgD3sjJIfrF8WEE7HkrkGD8d+w84Kio7rYA5WoTPLllu2xryTzlv+ S5Wkveg9qYWgCzu6wypmFEp1qkwjcoUyzkYVBgm0aZVTXQo1zlxP9GWo9EnCJaGn3KX8 AWXl977QLwo4qqcpKUl7E+BEijpSTvC2VrNAYu2cczY7rnausEigZLe0i2PFIyaIlzBG lDytBuKW6tLTLdUvkiFmo8V2SY2ZUk+H9bs07oY4GWVy0djrKQRXE1nIkZKoxLsJxqtg 7Alw== X-Received: by 10.66.146.4 with SMTP id sy4mr17282863pab.79.1441858335343; Wed, 09 Sep 2015 21:12:15 -0700 (PDT) Received: from localhost ([2601:647:4200:88bc:399f:4884:79bb:71bb]) by smtp.gmail.com with ESMTPSA id le8sm8990734pbc.24.2015.09.09.21.12.14 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Wed, 09 Sep 2015 21:12:14 -0700 (PDT) From: Eduardo Valentin To: Rui Zhang Cc: Linux PM , LKML , Eduardo Valentin Subject: [PATCH 16/17] thermal: qcom_spmi: allow compile test Date: Wed, 9 Sep 2015 21:11:12 -0700 Message-Id: <1441858273-4017-17-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1441858273-4017-1-git-send-email-edubezval@gmail.com> References: <1441858273-4017-1-git-send-email-edubezval@gmail.com> 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 Adding COMPILE_TEST flag to qcom_spmi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index d94b4e9..a752bef 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -356,7 +356,7 @@ endmenu config QCOM_SPMI_TEMP_ALARM tristate "Qualcomm SPMI PMIC Temperature Alarm" - depends on OF && SPMI && IIO + depends on OF && (SPMI || COMPILE_TEST) && IIO select REGMAP_SPMI help This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)