Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1055154iob; Fri, 13 May 2022 21:19:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyoABrFb+E1K6sthH0rKH9blsi2bUh6Py0/IgBNa1FeEzWpvlwEXpGkDxQPJGqPVe9UG0C X-Received: by 2002:a7b:c5ca:0:b0:394:7a03:48b6 with SMTP id n10-20020a7bc5ca000000b003947a0348b6mr7244085wmk.104.1652501996350; Fri, 13 May 2022 21:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652501996; cv=none; d=google.com; s=arc-20160816; b=e07fOGD4S+zC+DKygqVuuiNSJuqVPpy8yqB04j23WVGR55VwG8Uudf878KrQmT74Bq H4elTkK9HRNA/+09914hF0xS4aE9/WajCgqyo189IPzx5p9SFZNoR/NBTjKGMNvENWMt hOHzruIrTd6KRLMePFihCQonnnQHwoPaZRMNzRcwZlDjw8EcobsStOeFuk4UBwoo1vrq hOqqxAcjl/gI/f9dbq2Irf/U2as8lNeyQQf4kCPSjqjiqOD8EAiGLIUELzIff3bFg0gk mmXfwcDcKI1thq6w1r9MwTZ5hCl6E7oNkrr6R91vzIEYcV76fOideCw/EZA+1NGpvzPC zYgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wy9PNdWeNt6L5eESTZVnlasOOwhw05VL/G0+UFqevHQ=; b=ow4c2TaPg9KFqoRxYCzSCgD+LlacL47gt+3kyMNV7XS7YzEaJDEtg+79WrbJ4XYe2P hWXQNAd/12qQksoGsGBD98juFm5WWRJ+SDnFQYJBjDNrIzh6DuCy+fEMU8Uq+n1l41n5 svwnlVNc0Nc0JB58E+dUc8bpjmS7bIrAib85EFzCgxE3xx5eIEdlU/PiA3kT5syTEQ0O t/kVRqmjYptXemyTQHFG5q5PmM8b+L5XlJctZqs7+5wbMq1OMpfKDGETdVj3gP09FILo kn3qJJf8DyEubGXVjC6Q6cqUbbNEqXpYtei7lXy4BOPRzcOuCPCFxc/FhqcMESHFH5cV zMdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e10-20020adfc84a000000b0020c75b1717esi3563276wrh.666.2022.05.13.21.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 21:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8893F34035F; Fri, 13 May 2022 17:50:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377884AbiEMHtv (ORCPT + 99 others); Fri, 13 May 2022 03:49:51 -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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-ID: 151534::1652427147-F32576BE-22BD198C/0/0 X-purgate: clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 =20 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. --=20 2.30.2