Skip to contentSkip to conversation

spi.h: add missing kernel-doc for struct spi_master

PATCH In review Randy Dunlap 2 participants 2 messages Jul 3, 2009 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi.h: add missing kernel-doc for struct spi_master

From: Randy Dunlap <[email protected]>

Add missing kernel-doc notation in spi.h for struct spi_master:

Warning(include/linux/spi/spi.h:289): No description found for parameter 'mode_bits' Warning(include/linux/spi/spi.h:289): No description found for parameter 'flags'

---
 include/linux/spi/spi.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/spi/spi.h +2 -0
@@ -207,6 +207,8 @@ static inline void spi_unregister_driver
  *	each slave has a chipselect signal, but it's common that not
  *	every chipselect is connected to a slave.
  * @dma_alignment: SPI controller constraint on DMA buffers alignment.
+ * @mode_bits: flags understood by this controller driver
+ * @flags: other constraints relevant to this driver
  * @setup: updates the device mode and clocking records used by a
  *	device's SPI controller; protocol code may call this.  This
  *	must fail if an unrecognized or unsupported mode is requested.

---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

------------------------------------------------------------------------------

#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Add missing kernel-doc notation in spi.h for struct spi_master:

Warning(include/linux/spi/spi.h:289): No description found for parameter 'mode_bits' Warning(include/linux/spi/spi.h:289): No description found for parameter 'flags'

Quoted 20 lines
---
 include/linux/spi/spi.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/spi/spi.h +2 -1
@@ -207,6 +207,8 @@ static inline void spi_unregister_driver
  *	each slave has a chipselect signal, but it's common that not
  *	every chipselect is connected to a slave.
  * @dma_alignment: SPI controller constraint on DMA buffers alignment.
+ * @mode_bits: flags understood by this controller driver
+ * @flags: other constraints relevant to this driver
  * @setup: updates the device mode and clocking records used by a
  *	device's SPI controller; protocol code may call this.  This
  *	must fail if an unrecognized or unsupported mode is requested.
 
 
 
 
---
Quoted 5 lines

~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

------------------------------------------------------------------------------