From: David Brownell Subject: Re: [PATCH] spi.h: add missing kernel-doc for struct spi_master Date: Fri, 3 Jul 2009 14:20:43 -0700 Message-ID: <200907031420.43519.david-b@pacbell.net> References: <20090703131108.4046ab24.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, akpm To: Randy Dunlap Return-path: In-Reply-To: <20090703131108.4046ab24.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Friday 03 July 2009, Randy Dunlap wrote: > From: Randy Dunlap > > 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 > --- > include/linux/spi/spi.h | 2 ++ > 1 file changed, 2 insertions(+) > > --- linux-2.6.31-rc1-git10.orig/include/linux/spi/spi.h > +++ linux-2.6.31-rc1-git10/include/linux/spi/spi.h > @@ -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/ > > ------------------------------------------------------------------------------