Skip to content

Commit ee7683a

Browse files
rddunlapbroonie
authored andcommitted
spi: Document max_transfer_size
Fix kernel-doc warning for missing struct field notation. ..//include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size' [Meaningful subject -- broonie] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 92e963f commit ee7683a

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
@@ -303,6 +303,8 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
303303
* @min_speed_hz: Lowest supported transfer speed
304304
* @max_speed_hz: Highest supported transfer speed
305305
* @flags: other constraints relevant to this driver
306+
* @max_transfer_size: function that returns the max transfer size for
307+
* a &spi_device; may be %NULL, so the default %SIZE_MAX will be used.
306308
* @bus_lock_spinlock: spinlock for SPI bus locking
307309
* @bus_lock_mutex: mutex for SPI bus locking
308310
* @bus_lock_flag: indicates that the SPI bus is locked for exclusive use

0 commit comments

Comments
 (0)