Re: w83795.c no longer compiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 01, 2013 at 08:49:29AM -0700, David Anderson wrote:
> Just installed the new Ubuntu 13.10.   Kernel 3.11.0-12 #19.
> I get an error building w83795.c (building a module to read
> my  w83795adg temp sensor) for this kernel.
> 
> The source is from
> http://khali.linux-fr.org/devel/lm-sensors/drivers/w83795/
> and has been working for quite a while ... but not with this new kernel
> series (it was  a 3.8.0 kernel in Ubuntu 13.04 and worked fine there).
> 
> The error:
>       'implicit declaration of function 'SENSORS LIMIT' '
> at, for example,
> 
>      return SENSORS_LIMIT((val + 50) / 100, 0, 0xff);
> 
SENSORS_LIMIT no longer exists; replace it with clamp_val.

Is the driver in the upstream kernel different to the version above ?

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux