Re: [PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m

2015-03-05 Thread Guenter Roeck
On 03/05/2015 03:27 PM, Randy Dunlap wrote: From: Randy Dunlap 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_cooli

[PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m

2015-03-05 Thread Randy Dunlap
From: Randy Dunlap 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 f