diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/cros_ec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index 0e166b92f5b4..71675b14b5ca 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h | |||
| @@ -38,20 +38,20 @@ enum { | |||
| 38 | /* | 38 | /* |
| 39 | * @version: Command version number (often 0) | 39 | * @version: Command version number (often 0) |
| 40 | * @command: Command to send (EC_CMD_...) | 40 | * @command: Command to send (EC_CMD_...) |
| 41 | * @outdata: Outgoing data to EC | ||
| 42 | * @outsize: Outgoing length in bytes | 41 | * @outsize: Outgoing length in bytes |
| 43 | * @indata: Where to put the incoming data from EC | ||
| 44 | * @insize: Max number of bytes to accept from EC | 42 | * @insize: Max number of bytes to accept from EC |
| 45 | * @result: EC's response to the command (separate from communication failure) | 43 | * @result: EC's response to the command (separate from communication failure) |
| 44 | * @outdata: Outgoing data to EC | ||
| 45 | * @indata: Where to put the incoming data from EC | ||
| 46 | */ | 46 | */ |
| 47 | struct cros_ec_command { | 47 | struct cros_ec_command { |
| 48 | uint32_t version; | 48 | uint32_t version; |
| 49 | uint32_t command; | 49 | uint32_t command; |
| 50 | uint8_t *outdata; | ||
| 51 | uint32_t outsize; | 50 | uint32_t outsize; |
| 52 | uint8_t *indata; | ||
| 53 | uint32_t insize; | 51 | uint32_t insize; |
| 54 | uint32_t result; | 52 | uint32_t result; |
| 53 | uint8_t outdata[EC_PROTO2_MAX_PARAM_SIZE]; | ||
| 54 | uint8_t indata[EC_PROTO2_MAX_PARAM_SIZE]; | ||
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
