
30 Jan
2008
30 Jan
'08
3:43 p.m.
hello,
I am porting on a PowerPC (MPC7448) platform.
thank you.
It would help to know what platform you're building for. The functions mentioned are prototyped in 'i2c.h', but don't appear in all I2C drivers (I'm thinking of the ARM ones that are in drivers/i2c). If you're using a controller that has these functions implemented, you probably don't have your I2C controller properly set up.
Since these functions are always 1-or-2 liner wrappers around i2c_read()/i2c_write() and always do the same thing, it would probably be helpful to implement them as static inlines in include/i2c.h. I'll post a patch to do this some time soon.
regards, Ben