diff options
| author | Randy Dunlap <[email protected]> | 2015-03-10 23:42:41 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2015-03-11 02:13:15 +0000 |
| commit | f6906edeac16bb33b80d41fac84261767f18c14a (patch) | |
| tree | a6dd068b92fcb44c4b742cfa2d4b695246e3ba27 /drivers/hwmon/pwm-fan.c | |
| parent | hwmon: (pwm-fan) Fix build when THERMAL=m (diff) | |
| download | kernel-f6906edeac16bb33b80d41fac84261767f18c14a.tar.gz kernel-f6906edeac16bb33b80d41fac84261767f18c14a.zip | |
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 <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: [email protected]
Cc: Simon Guinot <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
