From: Florian Eckert <fe@dev.tdt.de>
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 <lkp@intel.com>
Subject: [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY
Date: Fri, 13 May 2022 09:32:21 +0200 [thread overview]
Message-ID: <20220513073221.48744-1-fe@dev.tdt.de> (raw)
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 <lkp@intel.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
---
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.
--
2.30.2
next reply other threads:[~2022-05-13 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 7:32 Florian Eckert [this message]
2022-05-13 13:00 ` [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220513073221.48744-1-fe@dev.tdt.de \
--to=fe@dev.tdt.de \
--cc=Eckert.Florian@googlemail.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.