From: Randy Dunlap Date: Tue, 22 Sep 2009 23:46:00 +0000 (-0700) Subject: spi.h: add missing kernel-doc for struct spi_master X-Git-Tag: v3.0~7623 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b73b255956119111dc18fa063d1e3a0bb3f06328;p=platform%2Fkernel%2Flinux-amlogic.git spi.h: add missing kernel-doc for struct spi_master 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' Signed-off-by: Randy Dunlap Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index c47c4b4..eb25ced 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -207,6 +207,8 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) * 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.