summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2016-02-05 17:31:39 -0800
committerMark Brown <broonie@kernel.org>2016-02-08 16:55:00 +0000
commitee7683a31683c6368a66a83c555600dfd704e543 (patch)
tree890e6c211742a0300dd365e74ef3bd9242a99ab3
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-stable-ee7683a31683c6368a66a83c555600dfd704e543.tar.gz
linux-stable-ee7683a31683c6368a66a83c555600dfd704e543.tar.bz2
linux-stable-ee7683a31683c6368a66a83c555600dfd704e543.zip
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>
-rw-r--r--include/linux/spi/spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 53be3a4c60cb..e9290c335cc4 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -303,6 +303,8 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
* @min_speed_hz: Lowest supported transfer speed
* @max_speed_hz: Highest supported transfer speed
* @flags: other constraints relevant to this driver
+ * @max_transfer_size: function that returns the max transfer size for
+ * a &spi_device; may be %NULL, so the default %SIZE_MAX will be used.
* @bus_lock_spinlock: spinlock for SPI bus locking
* @bus_lock_mutex: mutex for SPI bus locking
* @bus_lock_flag: indicates that the SPI bus is locked for exclusive use