Trouble with i2c and bttv

Mark D. Studebaker mds at paradyne.com
Sat Jul 5 17:50:39 CEST 2003


that would be great.
See CHANGES in i2c.
For bus drivers, take out the inc_use and dec_use entries in struct i2c_adapter,
remove the associated functions, and add an owner =THIS_MODULE in struct i2c_adapter.
Make sure everything is C99 initializers.
Make the same changes in struct i2c_driver (chip drivers)
Remove an argument in i2c_register_entry().

Jean Delvare wrote:
>>i2c-2.8.0 isn't compatible with existing i2c drivers in the kernel due
>>to struct changes.
> 
> 
> BTW I'd like to work on this problem. I have a DC10+ board (zoran
> driver) that suffers from the struct changes, and I really want to be
> able to use bleeding edge sensors *and* occasionally watch TV. The
> problem is that I just don't know how to fix the driver. Is there a
> document somewhere explaining how to convert a driver from old structs
> to new ones?
> 
> (If I succeed for my own board, I'll fix all the kernel drivers the same
> way, providing someone can provide the first half of the patch, that is,
> I2C itself.)
> 



More information about the lm-sensors mailing list