Skip to content

Commit 75d6fe4

Browse files
siddhpantbroonie
authored andcommitted
spi: Doc fix - Describe add_lock and dma_map_dev in spi_controller
This fixes the corresponding warnings during building the docs. Signed-off-by: Siddh Raman Pant <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 606e5d4 commit 75d6fe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/spi/spi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 ch
347347
* @max_message_size: function that returns the max message size for
348348
* a &spi_device; may be %NULL, so the default %SIZE_MAX will be used.
349349
* @io_mutex: mutex for physical bus access
350+
* @add_lock: mutex to avoid adding devices to the same chipselect
350351
* @bus_lock_spinlock: spinlock for SPI bus locking
351352
* @bus_lock_mutex: mutex for exclusion of multiple callers
352353
* @bus_lock_flag: indicates that the SPI bus is locked for exclusive use
@@ -361,6 +362,7 @@ extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 ch
361362
* @transfer: adds a message to the controller's transfer queue.
362363
* @cleanup: frees controller-specific state
363364
* @can_dma: determine whether this controller supports DMA
365+
* @dma_map_dev: device which can be used for DMA mapping
364366
* @queued: whether this controller is providing an internal message queue
365367
* @kworker: pointer to thread struct for message pump
366368
* @pump_messages: work struct for scheduling work to the message pump

0 commit comments

Comments
 (0)