summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2024-03-28 15:33:40 -0700
committerMark Brown <broonie@kernel.org>2024-03-29 13:51:37 +0000
commitba5206881843e16b74a07c37970dcc44d22f8f6f (patch)
tree2dd33f5cbb219e6f18d0d14c48ac8ffeb80eae47 /include/linux/spi
parent32e13575511117522002faaa043deb7cb7f5d7ea (diff)
downloadlinux-ba5206881843e16b74a07c37970dcc44d22f8f6f.tar.gz
linux-ba5206881843e16b74a07c37970dcc44d22f8f6f.tar.bz2
linux-ba5206881843e16b74a07c37970dcc44d22f8f6f.zip
spi: spi.h: add missing kernel-doc for @last_cs_index_mask
kernel-doc complains about last_cs_index_mask not described, so add its description. spi.h:778: warning: Function parameter or struct member 'last_cs_index_mask' not described in 'spi_controller' Fixes: 4d8ff6b0991d ("spi: Add multi-cs memories support in SPI core") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/r/20240328223340.17159-1-rdunlap@infradead.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index b589e2547439..e8e1e798924f 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -453,6 +453,7 @@ extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 ch
* @last_cs_mode_high: was (mode & SPI_CS_HIGH) true on the last call to set_cs.
* @last_cs: the last chip_select that is recorded by set_cs, -1 on non chip
* selected
+ * @last_cs_index_mask: bit mask the last chip selects that were used
* @xfer_completion: used by core transfer_one_message()
* @busy: message pump is busy
* @running: message pump is running