lkml.org 
[lkml]   [2016]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] thermal: allow u8500-thermal driver to be a module
On Wed, Jan 27, 2016 at 07:33:00AM +0000, Lee Jones wrote:
> On Mon, 25 Jan 2016, Arnd Bergmann wrote:
>
> > When the thermal subsystem is a loadable module, the u8500 driver
> > fails to build:
> >
> > drivers/thermal/built-in.o: In function `db8500_thermal_probe':
> > db8500_thermal.c:(.text+0x96c): undefined reference to `thermal_zone_device_register'
> > drivers/thermal/built-in.o: In function `db8500_thermal_work':
> > db8500_thermal.c:(.text+0xab4): undefined reference to `thermal_zone_device_update'
> >
> > This changes the symbol to a tristate, so Kconfig can track the
> > dependency correctly.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > drivers/mfd/db8500-prcmu.c | 3 +++
> > drivers/thermal/Kconfig | 4 ++--
> > 2 files changed, 5 insertions(+), 2 deletions(-)
>
> As this touches a core Thermal file, I think it's better off going in
> via that tree. If that's a problem, I can take it with the relevant
> Acks.
>
> Acked-by: Lee Jones <lee.jones@linaro.org>


Thanks, I am adding to linux-next to see how it goes.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-02-09 23:21    [W:0.092 / U:6.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site