summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 0861b3c34e..3c0810504f 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -4008,10 +4008,7 @@ struct ec_response_power_info {
#define EC_I2C_STATUS_ERROR (EC_I2C_STATUS_NAK | EC_I2C_STATUS_TIMEOUT)
struct ec_params_i2c_passthru_msg {
- union {
- uint16_t addr_flags; /* I2C slave address and flags */
- uint16_t addr_flags__7bf; /* remove before final merge */
- };
+ uint16_t addr_flags; /* I2C slave address and flags */
uint16_t len; /* Number of bytes to read or write */
} __ec_align2;
@@ -5411,10 +5408,7 @@ enum ec_bus_type {
struct ec_i2c_info {
uint16_t port; /* Physical port for device */
- union {
- uint16_t addr_flags; /* 7-bit (or 10-bit) address */
- uint16_t addr__7bf; /* remove before final merge */
- };
+ uint16_t addr_flags; /* 7-bit (or 10-bit) address */
};
struct ec_params_locate_chip {