summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorBenson Leung <bleung@chromium.org>2018-10-09 21:29:51 -0700
committerBenson Leung <bleung@chromium.org>2018-10-09 21:29:51 -0700
commit2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0 (patch)
tree887d0c00b499e6870d3dd5974f1784d00f723037 /drivers/mfd
parentd4d2313a3c17eff4aef9a544023c2df5b9f5bedc (diff)
parente2bbf91cad09118d7500f1fdaaa83d7741d30395 (diff)
downloadlinux-2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0.tar.gz
linux-2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0.tar.bz2
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.h13
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;