spi.h: add missing kernel-doc for struct spi_master
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/
------------------------------------------------------------------------------
A message that is not in the archive (sent off-list or not yet received): 20090703131108.4046ab24.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org
David Brownell
Acked-byQuoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Add missing kernel-doc notation in
spi.hfor structspi_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'Signed-off-by Randy Dunlap <[email protected]>
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/
------------------------------------------------------------------------------