spi: spi.h: add missing kernel-doc for @last_cs_index_mask
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 28 Mar 2024 22:33:40 +0000 (15:33 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 29 Mar 2024 13:51:37 +0000 (13:51 +0000)
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>
include/linux/spi/spi.h

index b589e254743935ceae1c592a3b9eabc87fae46b6..e8e1e798924f4cbf939648d2d0c60360ce079ed1 100644 (file)
@@ -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