diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2022-09-16 15:09:36 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-19 16:17:07 +0300 |
commit | 331ed050c11faf6a0beb065a79a1ac52e2fd0467 (patch) | |
tree | 06403b63558eec447ed9ea1dbd9d8842f7346705 | |
parent | 94c025b6f735b895285a74f2de263c773a08982b (diff) | |
download | linux-331ed050c11faf6a0beb065a79a1ac52e2fd0467.tar.xz |
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.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20220916120936.372591-1-pbrobinson@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r-- | drivers/hwmon/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index f604f599a341..96545763a52e 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -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 |