Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbd1db7d authored by Axel Lin's avatar Axel Lin Committed by Guenter Roeck
Browse files

hwmon: (pwm-fan) Make SENSORS_PWM_FAN depend on OF



This driver won't instantiate if OF is not configured, thus add OF dependency.
Also add COMPILE_TEST to increase build testing coverage.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 4e8e75f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1130,7 +1130,7 @@ source drivers/hwmon/pmbus/Kconfig

config SENSORS_PWM_FAN
	tristate "PWM fan"
	depends on PWM
	depends on (PWM && OF) || COMPILE_TEST
	help
	  If you say yes here you get support for fans connected to PWM lines.
	  The driver uses the generic PWM interface, thus it will work on a