Hello,

In userspace we can access any bus very simple, but from kernel it
seems very complex doing simple access to a bus.
The first argument to i2c_transfer is pointer to struct i2c_adapter,
which is very complex struct to fill !!

Isn't there a simpler way to access a bus (for example i2c-2) from kernel?

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

Thanks, Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to