Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756853Ab0HPVJR (ORCPT ); Mon, 16 Aug 2010 17:09:17 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:61693 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755860Ab0HPVJP (ORCPT ); Mon, 16 Aug 2010 17:09:15 -0400 Date: Mon, 16 Aug 2010 15:09:12 -0600 From: Grant Likely To: Ernst Schwab Cc: Randy Dunlap , spi-devel-general@lists.sourceforge.net, lkml , David Brownell Subject: Re: spi.h: missing kernel-doc notation, please fix Message-ID: <20100816210912.GB17571@angua.secretlab.ca> References: <20100815103156.37ae14cd.rdunlap@xenotime.net> <20100816151011.68e6c722.eschwab@online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100816151011.68e6c722.eschwab@online.de> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1674 Lines: 40 On Mon, Aug 16, 2010 at 03:10:11PM +0200, Ernst Schwab wrote: > Added comments in kernel-doc notation for previously added struct fields. > > Signed-off-by: Ernst Schwab Applied, thanks. > --- > On Sun, 15 Aug 2010 10:31:56 -0700 > Randy Dunlap wrote: > > > This patch in mainline: > > > > commit cf32b71e981ca63e8f349d8585ca2a3583b556e0 > > Author: Ernst Schwab > > Date: Mon Jun 28 17:49:29 2010 -0700 > > > > spi/mmc_spi: SPI bus locking API, using mutex > > > > adds some struct fields but does not add kernel-doc notation for them. > > Please add that missing struct documentation. > > diff a/include/linux/spi/spi.h b/include/linux/spi/spi.h > --- a/include/linux/spi/spi.h > +++ b/include/linux/spi/spi.h > @@ -213,6 +213,9 @@ static inline void spi_unregister_driver > * @dma_alignment: SPI controller constraint on DMA buffers alignment. > * @mode_bits: flags understood by this controller driver > * @flags: other constraints relevant to this driver > + * @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 > * @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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/