Fix for kernel 2.4.21 patch

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

 



> 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/



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

  Powered by Linux