linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY
@ 2022-05-13  7:32 Florian Eckert
  2022-05-13 13:00 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Eckert @ 2022-05-13  7:32 UTC (permalink / raw)
  To: linux
  Cc: jdelvare, linux-hwmon, linux-kernel, Eckert.Florian, kernel testrobot

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY
  2022-05-13  7:32 [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY Florian Eckert
@ 2022-05-13 13:00 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-05-13 13:00 UTC (permalink / raw)
  To: Florian Eckert
  Cc: jdelvare, linux-hwmon, linux-kernel, Eckert.Florian, kernel testrobot

On 5/13/22 00:32, Florian Eckert wrote:
> 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.
> 

Already queued.

Thanks,
Guenter

> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-13 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13  7:32 [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY Florian Eckert
2022-05-13 13:00 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).