All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED
@ 2022-09-16 12:09 Peter Robinson
  2022-09-19 13:13   ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Robinson @ 2022-09-16 12:09 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, linux-hwmon, linux-aspeed, openbmc,
	Jaghathiswari Rankappagounder Natarajan
  Cc: Peter Robinson

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>
---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index e70d9614bec2..006af099955f 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
-- 
2.37.3


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

* Re: [PATCH] hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED
  2022-09-16 12:09 [PATCH] hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED Peter Robinson
@ 2022-09-19 13:13   ` Guenter Roeck
  0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2022-09-19 13:13 UTC (permalink / raw)
  To: Peter Robinson
  Cc: Jean Delvare, linux-hwmon, linux-aspeed, openbmc,
	Jaghathiswari Rankappagounder Natarajan

On Fri, Sep 16, 2022 at 01:09:36PM +0100, Peter Robinson wrote:
> 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>

Applied.

Thanks,
Guenter

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

* Re: [PATCH] hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED
@ 2022-09-19 13:13   ` Guenter Roeck
  0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2022-09-19 13:13 UTC (permalink / raw)
  To: Peter Robinson
  Cc: linux-hwmon, Jaghathiswari Rankappagounder Natarajan, openbmc,
	Jean Delvare, linux-aspeed

On Fri, Sep 16, 2022 at 01:09:36PM +0100, Peter Robinson wrote:
> 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>

Applied.

Thanks,
Guenter

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 12:09 [PATCH] hwmon: (aspeed-pwm-tacho): Add dependency on ARCH_ASPEED Peter Robinson
2022-09-19 13:13 ` Guenter Roeck
2022-09-19 13:13   ` Guenter Roeck

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.