* [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86
@ 2022-05-27 15:34 Uwe Kleine-König
2022-05-31 7:26 ` Jean Delvare
2022-06-05 17:51 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2022-05-27 15:34 UTC (permalink / raw)
To: Jean Delvare, Guenter Roeck; +Cc: linux-hwmon, kernel
The two drivers compile just fine on ARCH=arm. Allow to select
these drivers if COMPILE_TEST is enabled.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/hwmon/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index f2b038fa3b84..ccd0df5e6b5e 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -378,7 +378,7 @@ config SENSORS_ARM_SCPI
config SENSORS_ASB100
tristate "Asus ASB100 Bach"
- depends on X86 && I2C
+ depends on (X86 || COMPILE_TEST) && I2C
select HWMON_VID
help
If you say yes here you get support for the ASB100 Bach sensor
@@ -621,7 +621,7 @@ config SENSORS_MC13783_ADC
config SENSORS_FSCHMD
tristate "Fujitsu Siemens Computers sensor chips"
- depends on X86 && I2C
+ depends on (X86 || COMPILE_TEST) && I2C
help
If you say yes here you get support for the following Fujitsu
Siemens Computers (FSC) sensor chips: Poseidon, Scylla, Hermes,
base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86
2022-05-27 15:34 [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86 Uwe Kleine-König
@ 2022-05-31 7:26 ` Jean Delvare
2022-06-05 17:51 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2022-05-31 7:26 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: Guenter Roeck, linux-hwmon, kernel
On Fri, 27 May 2022 17:34:45 +0200, Uwe Kleine-König wrote:
> The two drivers compile just fine on ARCH=arm. Allow to select
> these drivers if COMPILE_TEST is enabled.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> drivers/hwmon/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index f2b038fa3b84..ccd0df5e6b5e 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -378,7 +378,7 @@ config SENSORS_ARM_SCPI
>
> config SENSORS_ASB100
> tristate "Asus ASB100 Bach"
> - depends on X86 && I2C
> + depends on (X86 || COMPILE_TEST) && I2C
> select HWMON_VID
> help
> If you say yes here you get support for the ASB100 Bach sensor
> @@ -621,7 +621,7 @@ config SENSORS_MC13783_ADC
>
> config SENSORS_FSCHMD
> tristate "Fujitsu Siemens Computers sensor chips"
> - depends on X86 && I2C
> + depends on (X86 || COMPILE_TEST) && I2C
> help
> If you say yes here you get support for the following Fujitsu
> Siemens Computers (FSC) sensor chips: Poseidon, Scylla, Hermes,
>
> base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
Reviewed-by: Jean Delvare <jdelvare@suse.de>
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86
2022-05-27 15:34 [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86 Uwe Kleine-König
2022-05-31 7:26 ` Jean Delvare
@ 2022-06-05 17:51 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2022-06-05 17:51 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: Jean Delvare, linux-hwmon, kernel
On Fri, May 27, 2022 at 05:34:45PM +0200, Uwe Kleine-König wrote:
> The two drivers compile just fine on ARCH=arm. Allow to select
> these drivers if COMPILE_TEST is enabled.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Reviewed-by: Jean Delvare <jdelvare@suse.de>
Applied to hwmon-next.
Thanks,
Guenter
> ---
> drivers/hwmon/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>
> base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
>
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index f2b038fa3b84..ccd0df5e6b5e 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -378,7 +378,7 @@ config SENSORS_ARM_SCPI
>
> config SENSORS_ASB100
> tristate "Asus ASB100 Bach"
> - depends on X86 && I2C
> + depends on (X86 || COMPILE_TEST) && I2C
> select HWMON_VID
> help
> If you say yes here you get support for the ASB100 Bach sensor
> @@ -621,7 +621,7 @@ config SENSORS_MC13783_ADC
>
> config SENSORS_FSCHMD
> tristate "Fujitsu Siemens Computers sensor chips"
> - depends on X86 && I2C
> + depends on (X86 || COMPILE_TEST) && I2C
> help
> If you say yes here you get support for the following Fujitsu
> Siemens Computers (FSC) sensor chips: Poseidon, Scylla, Hermes,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-05 17:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 15:34 [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86 Uwe Kleine-König
2022-05-31 7:26 ` Jean Delvare
2022-06-05 17:51 ` 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).