Skip to contentSkip to conversation

hwmon: (ltq-cputemp) restrict build to SOC_XWAY

PATCH In review Florian Eckert 2 participants 2 messages May 13, 2022 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (ltq-cputemp) restrict build to SOC_XWAY

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.

---

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(-)
drivers/hwmon/Kconfig +1 -1
index 68a8a27ab3b7..1122c0519410 100644
@@ -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.
Signature · 1 line
2.30.2
maintainer
#1 lore raw
Quoted 6 lines · Florian Eckert

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

Quoted 22 lines

---

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(-)
drivers/hwmon/Kconfig +1 -1
index 68a8a27ab3b7..1122c0519410 100644
@@ -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.