Hi,

> The first argument to i2c_transfer is pointer to struct i2c_adapter,
> which is very complex struct to fill !!

You should never fill it yourself. This is the job of the i2c-core.

> If I know, for example, the exact bus number, is there some way I can
> get the i2c_adapter pointer to that bus ?

i2c_get_adapter(bus_number);

Regards,

   Wolfram

Attachment: signature.asc
Description: Digital signature

Reply via email to