From patchwork Fri May 13 07:32:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Eckert X-Patchwork-Id: 12848457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6013C433F5 for ; Fri, 13 May 2022 07:49:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377886AbiEMHtt (ORCPT ); Fri, 13 May 2022 03:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377890AbiEMHtr (ORCPT ); Fri, 13 May 2022 03:49:47 -0400 X-Greylist: delayed 1025 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 13 May 2022 00:49:42 PDT Received: from mxout70.expurgate.net (mxout70.expurgate.net [194.37.255.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A49DE13C377; Fri, 13 May 2022 00:49:42 -0700 (PDT) Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1npPmm-000Mf9-8i; Fri, 13 May 2022 09:32:28 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npPml-0008PU-9e; Fri, 13 May 2022 09:32:27 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 8A531240049; Fri, 13 May 2022 09:32:26 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 13B94240040; Fri, 13 May 2022 09:32:26 +0200 (CEST) Received: from localhost.localdomain (unknown [10.2.3.40]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 687B22750E; Fri, 13 May 2022 09:32:25 +0200 (CEST) From: Florian Eckert To: linux@roeck-us.net Cc: jdelvare@suse.com, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Eckert.Florian@googlemail.com, kernel testrobot Subject: [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY Date: Fri, 13 May 2022 09:32:21 +0200 Message-ID: <20220513073221.48744-1-fe@dev.tdt.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-purgate-type: clean X-purgate-ID: 151534::1652427147-F32576BE-22BD198C/0/0 X-purgate: clean Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org This driver can only be built if the target is set to SOC_XWAY, because only then the used macros 'ltq_cgu_*' are available. To clarify this, the Kconfig is adjusted so that the driver can only be selected when the SOC_XWAY is also selected. Reported-by: kernel testrobot Signed-off-by: Florian Eckert --- This is a fix for an issue, that was reported by the 'kernel testrobot'. drivers/hwmon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 68a8a27ab3b7..1122c0519410 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -960,7 +960,7 @@ config SENSORS_LTC4261 config SENSORS_LTQ_CPUTEMP bool "Lantiq cpu temperature sensor driver" - depends on LANTIQ + depends on LANTIQ && SOC_XWAY help If you say yes here you get support for the temperature sensor inside your CPU.