Re: [PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Guenter Roeck
On 03/10/2015 04:42 PM, Randy Dunlap wrote: From: Randy Dunlap Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y by preventing that combination. Fixes these build errors: drivers/built-in.o: In function `gpio_fan_remove': gpio-fan.c:(.text+0x21e97e): undefined reference to

[PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Randy Dunlap
From: Randy Dunlap Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y by preventing that combination. Fixes these build errors: drivers/built-in.o: In function `gpio_fan_remove': gpio-fan.c:(.text+0x21e97e): undefined reference to `thermal_cooling_device_unregister'

Re: [PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Guenter Roeck
On 03/10/2015 04:42 PM, Randy Dunlap wrote: From: Randy Dunlap rdun...@infradead.org Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y by preventing that combination. Fixes these build errors: drivers/built-in.o: In function `gpio_fan_remove': gpio-fan.c:(.text+0x21e97e): undefined

[PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Randy Dunlap
From: Randy Dunlap rdun...@infradead.org Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y by preventing that combination. Fixes these build errors: drivers/built-in.o: In function `gpio_fan_remove': gpio-fan.c:(.text+0x21e97e): undefined reference to