Fix for kernel 2.4.21 patch
Jean Delvare
khali at linux-fr.org
Fri Aug 1 09:37:59 CEST 2003
> The changes however are very simple:
>
> 1) File i2c-rpx.c line 21
> #include "i2c-algo-8xx.h"
>
> needs to be moved to below
>
> #include "asm/commproc.h"
>
> 2) File i2c-algo-8xx.c line 37
> #include "i2c-algo-8xx.h"
>
> needs to be moved to below
>
> #include "asm/commproc.h"
I'm more in favor of including "asm/commproc.h" at the beginning of
i2c-algo-8xx.h. I don't like the idea of a header only working if
another header was included before.
> 3) Not in the I2C sources:
>
> drivers/i2c/Makefile
>
> CONFIG_I2C_ALGO_8XX needs to be CONFIG_I2C_ALGO8XX
>
> Just remove the underscore.
OK, that's done.
Thanks for reporting.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
More information about the lm-sensors
mailing list