lkml.org 
[lkml]   [2015]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m
On 03/05/2015 03:27 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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>
> ---

Applied, thanks.

Guenter




\
 
 \ /
  Last update: 2015-03-06 05:21    [W:3.879 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site