diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-20 03:31:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-20 15:23:25 -0400 |
commit | 60489f085574157c343fc62a32f997fe7346a659 (patch) | |
tree | b7e629fdbac7a3b633acdc0ab26e66dc9a23c526 | |
parent | 8dbbaa47b96f6ea5f09f922b4effff3c505cd8cf (diff) |
spi: spi-mem: Add missing description for data.nbytes field
Add a description for spi_mem_op.data.nbytes to the kerneldoc header.
Fixes: c36ff266dc82 ("spi: Extend the core to ease integration of SPI memory controllers")
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | include/linux/spi/spi-mem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h index 62722fb7472d..0cfbb1ad8d96 100644 --- a/include/linux/spi/spi-mem.h +++ b/include/linux/spi/spi-mem.h | |||
@@ -79,6 +79,8 @@ enum spi_mem_data_dir { | |||
79 | * @dummy.buswidth: number of IO lanes used to transmit the dummy bytes | 79 | * @dummy.buswidth: number of IO lanes used to transmit the dummy bytes |
80 | * @data.buswidth: number of IO lanes used to send/receive the data | 80 | * @data.buswidth: number of IO lanes used to send/receive the data |
81 | * @data.dir: direction of the transfer | 81 | * @data.dir: direction of the transfer |
82 | * @data.nbytes: number of data bytes to send/receive. Can be zero if the | ||
83 | * operation does not involve transferring data | ||
82 | * @data.buf.in: input buffer | 84 | * @data.buf.in: input buffer |
83 | * @data.buf.out: output buffer | 85 | * @data.buf.out: output buffer |
84 | */ | 86 | */ |