i2c: add busnum to context
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -56,6 +56,7 @@ struct _gpio {
|
||||
*/
|
||||
struct _i2c {
|
||||
/*@{*/
|
||||
int busnum; /**< the bus number of the /dev/i2c-* device */
|
||||
int fh; /**< the file handle to the /dev/i2c-* device */
|
||||
int addr; /**< the address of the i2c slave */
|
||||
/*@}*/
|
||||
|
||||
Reference in New Issue
Block a user