i2c: use I2C_FUNCS to store funcs map
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -59,6 +59,7 @@ 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 */
|
||||
unsigned long funcs;
|
||||
/*@}*/
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user