i2c: removed gpio from context
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@@ -49,7 +49,6 @@ typedef struct {
|
|||||||
int hz; /**< frequency of communication */
|
int hz; /**< frequency of communication */
|
||||||
int fh; /**< the file handle to the /dev/i2c-* device */
|
int fh; /**< the file handle to the /dev/i2c-* device */
|
||||||
int addr; /**< the address of the i2c slave */
|
int addr; /**< the address of the i2c slave */
|
||||||
maa_gpio_context gpio;
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
} maa_i2c_context;
|
} maa_i2c_context;
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ typedef struct {
|
|||||||
int hz; /**< frequency of communication */
|
int hz; /**< frequency of communication */
|
||||||
int fh; /**< the file handle to the /dev/i2c-* device */
|
int fh; /**< the file handle to the /dev/i2c-* device */
|
||||||
int addr; /**< the address of the i2c slave */
|
int addr; /**< the address of the i2c slave */
|
||||||
maa_gpio_context gpio;
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
} maa_i2c_context;
|
} maa_i2c_context;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user