Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Guenter Roeck <linux@roeck-us.net>,
	linux-hwmon@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH] hwmon: Allow to compile ASB100 and FSCHMD on !X86
Date: Tue, 31 May 2022 09:26:50 +0200	[thread overview]
Message-ID: <20220531092650.07e543cb@endymion.delvare> (raw)
In-Reply-To: <20220527153445.1871086-1-u.kleine-koenig@pengutronix.de>

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

  reply	other threads:[~2022-05-31  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-06-05 17:51 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220531092650.07e543cb@endymion.delvare \
    --to=jdelvare@suse.de \
    --cc=kernel@pengutronix.de \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox