diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2015-03-05 23:27:34 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-03-09 16:59:36 (GMT) |
commit | 18fd303fea21c98b0b72534e6db47e80d12bf311 (patch) | |
tree | d5bf86109e572cf0c3de5fc2ffe32b4dabcf064a /crypto/pcompress.c | |
parent | de52b049d6d5af635d628d17fcb466d53a9617af (diff) | |
download | linux-18fd303fea21c98b0b72534e6db47e80d12bf311.tar.xz |
hwmon: (pwm-fan) Fix build when THERMAL=m
Fix build errors when CONFIG_THERMAL=m and SENSORS_PWM_FAN=y
by restricting SENSORS_PWM_FAN to 'm' when THERMAL=m.
drivers/built-in.o: In function `pwm_fan_remove':
pwm-fan.c:(.text+0x22ba58): undefined reference to `thermal_cooling_device_unregister'
drivers/built-in.o: In function `pwm_fan_probe':
pwm-fan.c:(.text+0x22bebb): undefined reference to `thermal_of_cooling_device_register'
pwm-fan.c:(.text+0x22bf11): undefined reference to `thermal_cdev_update'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'crypto/pcompress.c')
0 files changed, 0 insertions, 0 deletions