diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2015-03-10 16:42:41 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-03-10 19:13:15 -0700 |
commit | f6906edeac16bb33b80d41fac84261767f18c14a (patch) | |
tree | a6dd068b92fcb44c4b742cfa2d4b695246e3ba27 /drivers/hwmon/lm77.c | |
parent | 18fd303fea21c98b0b72534e6db47e80d12bf311 (diff) | |
download | op-kernel-dev-f6906edeac16bb33b80d41fac84261767f18c14a.zip op-kernel-dev-f6906edeac16bb33b80d41fac84261767f18c14a.tar.gz |
hwmon: (gpio-fan) Fix build with CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
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'
drivers/built-in.o: In function `gpio_fan_probe':
gpio-fan.c:(.text+0x21efbc): undefined reference to `thermal_cooling_device_register'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jean Delvare <jdelvare@suse.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: lm-sensors@lm-sensors.org
Cc: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm77.c')
0 files changed, 0 insertions, 0 deletions