hwmon: (pwm-fan) Make SENSORS_PWM_FAN depend on OF
authorAxel Lin <axel.lin@ingics.com>
Fri, 25 Jul 2014 14:19:35 +0000 (22:19 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commitdbd1db7d42c053f2f937dc52c5644e105043b082
tree880bd7b892ca753d9ea9f1efae6d6ca557f2f0f3
parent4e8e75f6a4c977e2e9caffa3ceab0f7e559cb825
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: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig