projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd5842
)
hwmon: Allow to compile ASB100 and FSCHMD on !X86
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Fri, 27 May 2022 15:34:45 +0000
(17:34 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:19 +0000
(08:38 -0700)
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>
Link:
https://lore.kernel.org/r/20220527153445.1871086-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/hwmon/Kconfig
b/drivers/hwmon/Kconfig
index
981df62
..
fd2446c
100644
(file)
--- a/
drivers/hwmon/Kconfig
+++ b/
drivers/hwmon/Kconfig
@@
-382,7
+382,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
@@
-627,7
+627,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,