diff mbox

spi: Add struct spi_master max_transfer_size member to kernel-doc

Message ID 1454965848-5120-1-git-send-email-javier@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas Feb. 8, 2016, 9:10 p.m. UTC
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(+)

Comments

Mark Brown Feb. 8, 2016, 9:15 p.m. UTC | #1
On Mon, Feb 08, 2016 at 06:10:48PM -0300, Javier Martinez Canillas wrote:
> 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:

This duplicates a patch Randy sent earlier.
Javier Martinez Canillas Feb. 8, 2016, 9:34 p.m. UTC | #2
Hello Mark,

On 02/08/2016 06:15 PM, Mark Brown wrote:
> On Mon, Feb 08, 2016 at 06:10:48PM -0300, Javier Martinez Canillas wrote:
>> 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:
>
> This duplicates a patch Randy sent earlier.
>

Ok, I missed that patch. Thanks.

Best regards,
diff mbox

Patch

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