From: Michael R. <re...@eu...> - 2006-08-03 10:59:57
|
Hi Kevin, Hi i2c-guys, > Here is a patch for syncing i2c_transfer function in > Linux kernel 2.6, thanks. Thanks a lot for your contribution. I'm forwarding this to the developer list so that the i2c guys can take care of this (I don't use i2c myself) > --- lcd4linux_i2c.h.orig 2006-08-03 17:38:44.000000000 +0800 > +++ lcd4linux_i2c.h 2006-08-03 17:39:27.000000000 +0800 > @@ -78,7 +78,7 @@ > > /* Transfer num messages. > */ > -extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num); > +extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num); > > /* > * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |