From: Guenter Roeck <linux@roeck-us.net>
To: Randy Dunlap <rdunlap@infradead.org>,
lm-sensors@lm-sensors.org, LKML <linux-kernel@vger.kernel.org>
Cc: Kamil Debski <k.debski@samsung.com>, Jean Delvare <jdelvare@suse.de>
Subject: Re: [PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m
Date: Thu, 05 Mar 2015 19:59:27 -0800 [thread overview]
Message-ID: <54F9261F.6080007@roeck-us.net> (raw)
In-Reply-To: <54F8E666.9090403@infradead.org>
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
prev parent reply other threads:[~2015-03-06 3:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 23:27 [PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m Randy Dunlap
2015-03-06 3:59 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F9261F.6080007@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jdelvare@suse.de \
--cc=k.debski@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox