Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329584

[PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc
Date 2016-02-08 22:20 +0100
Message-ID <r01nY-2ow-31@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Commit 4acad4aae10d ("spi: expose master transfer size limitation.") added
a parameter to specify the SPI controller maximum transfer size limitation
but did not update the kernel-doc so building the docs leads to a warning:

.//include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size'

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 include/linux/spi/spi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 53be3a4c60cb..093be7d50597 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -303,6 +303,7 @@ 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: specifies SPI controller maximum transfer size limit
  * @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
-- 
2.5.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-08 22:20 +0100

csiph-web