Skip to contentSkip to conversation

hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED

PATCH New Peter Robinson 2 participants 2 messages Sep 16, 2022 – Sep 19, 2022 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED

The SENSORS_ASPEED is part of the Aspeed silicon so it makes sense to depend on ARCH_ASPEED and for compile testing.

---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
index e70d9614bec2..006af099955f 100644
@@ -393,6 +393,7 @@ config SENSORS_ASB100
 
 config SENSORS_ASPEED
 	tristate "ASPEED AST2400/AST2500 PWM and Fan tach driver"
+	depends on ARCH_ASPEED || COMPILE_TEST
 	depends on THERMAL || THERMAL=n
 	select REGMAP
 	help
Signature · 1 line
2.37.3
maintainer Applied
#1 lore raw

PATCH 1/1 hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED

Quoted 4 lines · Peter Robinson

The SENSORS_ASPEED is part of the Aspeed silicon so it makes sense to depend on ARCH_ASPEED and for compile testing.

Applied.

Thanks,
Guenter