[i2c] "driver forgot to specify physical device"

Till Harbaum / Lists lists at harbaum.org
Tue Apr 17 19:14:04 CEST 2007


Hi,

ok, that did the trick. Thanks a lot. I read the coding style as you
suggested and the attached version should meet it ... i hope.

Can you please have another look?

Thanks for your help!

Till

Am Dienstag 17 April 2007 schrieb Jean Delvare:
> Argh, yes, sorry, I misread your code. "parent" should point to the
> struct device associated with your USB device, or more likely USB
> interface, although I'm not familiar with USB. That would probably be:
>
> 	dev->i2c_adap.dev.parent = &interface->dev;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-tiny-usb.c
Type: text/x-csrc
Size: 8153 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/i2c/attachments/20070417/48bf276f/attachment.bin 


More information about the i2c mailing list