diff options
Diffstat (limited to 'include/test_util.h')
-rw-r--r-- | include/test_util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/test_util.h b/include/test_util.h index a812817b8f..7ee2fed284 100644 --- a/include/test_util.h +++ b/include/test_util.h @@ -218,20 +218,20 @@ void test_reboot_to_next_step(enum test_state_t step); struct test_i2c_read_string_dev { /* I2C string read handler */ - int (*routine__7bf)(const int port, const uint16_t i2c_addr__7bf, + int (*routine)(const int port, const uint16_t i2c_addr_flags, int offset, uint8_t *data, int len); }; struct test_i2c_xfer { /* I2C xfer handler */ - int (*routine__7bf)(const int port, const uint16_t i2c_addr__7bf, + int (*routine)(const int port, const uint16_t i2c_addr_flags, const uint8_t *out, int out_size, uint8_t *in, int in_size, int flags); }; struct test_i2c_write_dev { /* I2C write handler */ - int (*routine__7bf)(const int port, const uint16_t i2c_addr__7bf, + int (*routine)(const int port, const uint16_t i2c_addr_flags, int offset, int data); }; @@ -259,7 +259,7 @@ struct test_i2c_write_dev { * @return EC_SUCCESS if detached; EC_ERROR_OVERFLOW if too many devices are * detached. */ -int test_detach_i2c__7bf(const int port, const uint16_t slave_addr__7bf); +int test_detach_i2c(const int port, const uint16_t slave_addr_flags); /* * Re-attach an I2C device. @@ -269,6 +269,6 @@ int test_detach_i2c__7bf(const int port, const uint16_t slave_addr__7bf); * @return EC_SUCCESS if re-attached; EC_ERROR_INVAL if the specified device * is not a detached device. */ -int test_attach_i2c__7bf(const int port, const uint16_t slave_addr__7bf); +int test_attach_i2c(const int port, const uint16_t slave_addr_flags); #endif /* __CROS_EC_TEST_UTIL_H */ |