Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (abitguru{,3}) Enable build testing on !X86

The two drivers compile fine on arm64, powerpc, m68k and s390. So make
it possible to enable the drivers in the presence of COMPILE_TEST.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230918085951.1234172-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Uwe Kleine-König and committed by
Guenter Roeck
a7dee82a e09b7505

+2 -2
+2 -2
drivers/hwmon/Kconfig
··· 40 40 41 41 config SENSORS_ABITUGURU 42 42 tristate "Abit uGuru (rev 1 & 2)" 43 - depends on X86 && DMI 43 + depends on (X86 && DMI) || COMPILE_TEST 44 44 help 45 45 If you say yes here you get support for the sensor part of the first 46 46 and second revision of the Abit uGuru chip. The voltage and frequency ··· 55 55 56 56 config SENSORS_ABITUGURU3 57 57 tristate "Abit uGuru (rev 3)" 58 - depends on X86 && DMI 58 + depends on (X86 && DMI) || COMPILE_TEST 59 59 help 60 60 If you say yes here you get support for the sensor part of the 61 61 third revision of the Abit uGuru chip. Only reading the sensors