Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752636AbbKPVoJ (ORCPT ); Mon, 16 Nov 2015 16:44:09 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:50532 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752225AbbKPVoE (ORCPT ); Mon, 16 Nov 2015 16:44:04 -0500 From: Arnd Bergmann To: Eduardo Valentin Cc: Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Ivan T. Ivanov" , David Collins , linux-arm-msm@vger.kernel.org Subject: [PATCH] Revert "thermal: qcom_spmi: allow compile test" Date: Mon, 16 Nov 2015 22:43:50 +0100 Message-ID: <9183915.mBPRJBbpGR@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:5gvu7wcW26AlGtQQ8PdFHanS+ZGeXa8IxS7+SuloFau1QcvPemR Gwp+oUUGV3ySw9gUHap9808h3iERaOZQSjizTk6PpPUqI+3glf64Pxg4RVpxMw+aqZcrI2t n2+1jwB8WYPvabU8sVXncPYcDJVih/+4qJEQSDQcZmZtBC1IP5c3R/2s8i0785rDrWoIoXA NvICXCGx7gbjVeAa2PKzw== X-UI-Out-Filterresults: notjunk:1;V01:K0:jLlCMokRSuY=:ssT4B+OpTAFdRcSDquRRM8 twY+bDVtB4dK7UhK37ctbvnlv13R2ZRXzPQWzO9L3riNEyNUUH+1j3+VFgWId6EpufoodLdDg kK3KFEYq4/ynMKAmc9+aNuvTqlouK0kOlERNAuNp1gow0t3hkhhQZ0gAlG+xt5zskkgMlbQgd eYmmieNnEo2+MTh4UJ0zzfuv1VFH24J3ZFZgbP0UoNHMV1EEPZsQYXjs5VPkDtnuIOJxYP1xB 3YY+AXhYXvA83K7LPoIBGyfzieFudBOS80wa0FNESyXjBrR4dbCtcR63+hHK52jn+YLBtMPnP opqwm9cS8a1vgyrUMXXQocpLzzuo7aGafsw183ISrpdyygBuq/DzJTHuaAStF8yy5AbJnfD9l eT0k0+Hdf6a+8pYr1+vfor7eaL0hDHhLbUzm3cDZ5F8iZoxVfmeB54der9ANQEanCoFHJkqgU 26l345GB0iKyswka24Bnp1Ly1FUs/YMfjtYGcR4ZaFjyF/iv3A2yE9MfD5JdTB79COMt4YmDS bgxGKuBZaJYBTawyhI4h+4iwlp50qJ91sZiCR/vaTM5LB8Xf7Xys7Mp8XrNwHMzD293Ji4mIB AeHLEBupXTLF3Vy/25GcoEqhHrNQJNooUefHOKVPvvcCVyuxnvfjGQ07gleAZygbQZu8LvT09 yocI2qnAWZmy3KvpsO1Ia9I76kl7CGg5b9vJ6ky6DoUNuZIWjayryjw5uUvGXPxJq7HdQnfst E9GHEUj/w6gdibJx Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1497 Lines: 38 This just caused build errors: warning: (QCOM_SPMI_TEMP_ALARM) selects REGMAP_SPMI which has unmet direct dependencies (SPMI) drivers/built-in.o: In function `regmap_spmi_ext_gather_write': :(.text+0x609b0): undefined reference to `spmi_ext_register_write' :(.text+0x609f0): undefined reference to `spmi_ext_register_writel' While it's generally a good idea to allow compile testing, in this case, it just doesn't work, so reverting the patch that introduced the compile-test variant seems the most appropriate solution. Note that SPIMI also has a 'depends on ARCH_QCOM || COMPILE_TEST' statement, so we should be able to enable SPMI on all architectures for compile testing already. Signed-off-by: Arnd Bergmann Fixes: cb7fb4d34202 ("thermal: qcom_spmi: allow compile test") diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 2e7524f0f3f7..6045b17d0e00 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -381,7 +381,7 @@ endmenu config QCOM_SPMI_TEMP_ALARM tristate "Qualcomm SPMI PMIC Temperature Alarm" - depends on OF && (SPMI || COMPILE_TEST) && IIO + depends on OF && SPMI && IIO select REGMAP_SPMI help This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/