diff options
author | Benson Leung <bleung@chromium.org> | 2018-10-10 06:29:51 +0200 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-10-10 06:29:51 +0200 |
commit | 2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0 (patch) | |
tree | 887d0c00b499e6870d3dd5974f1784d00f723037 /drivers/mfd | |
parent | mfd: cros-ec: copy the whole event in get_next_event_xfer (diff) | |
parent | mfd: cros_ec: Fix and improve kerneldoc comments. (diff) | |
download | linux-2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0.tar.xz linux-2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0.zip |
Merge remote-tracking branch 'origin/ib-chrome-platform-mfd-move-cros_ec_lpc' into working-branch-for-4.20
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/cros_ec_dev.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/mfd/cros_ec_dev.h b/drivers/mfd/cros_ec_dev.h index 45e9453608c5..978d836a0248 100644 --- a/drivers/mfd/cros_ec_dev.h +++ b/drivers/mfd/cros_ec_dev.h @@ -26,12 +26,13 @@ #define CROS_EC_DEV_VERSION "1.0.0" -/* - * @offset: within EC_LPC_ADDR_MEMMAP region - * @bytes: number of bytes to read. zero means "read a string" (including '\0') - * (at most only EC_MEMMAP_SIZE bytes can be read) - * @buffer: where to store the result - * ioctl returns the number of bytes read, negative on error +/** + * struct cros_ec_readmem - Struct used to read mapped memory. + * @offset: Within EC_LPC_ADDR_MEMMAP region. + * @bytes: Number of bytes to read. Zero means "read a string" (including '\0') + * At most only EC_MEMMAP_SIZE bytes can be read. + * @buffer: Where to store the result. The ioctl returns the number of bytes + * read or negative on error. */ struct cros_ec_readmem { uint32_t offset; |