From patchwork Sat Feb 6 01:31:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 8240931 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 70B8D9F4DD for ; Sat, 6 Feb 2016 01:32:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95895203DB for ; Sat, 6 Feb 2016 01:32:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A2994203AD for ; Sat, 6 Feb 2016 01:32:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750754AbcBFBbp (ORCPT ); Fri, 5 Feb 2016 20:31:45 -0500 Received: from casper.infradead.org ([85.118.1.10]:39147 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbcBFBbp (ORCPT ); Fri, 5 Feb 2016 20:31:45 -0500 Received: from static-50-53-43-78.bvtn.or.frontiernet.net ([50.53.43.78] helo=[192.168.1.15]) by casper.infradead.org with esmtpsa (Exim 4.85 #2 (Red Hat Linux)) id 1aRriw-0008VL-2u; Sat, 06 Feb 2016 01:31:42 +0000 To: LKML , Mark Brown , linux-spi@vger.kernel.org Subject: [PATCH] spi: fix spi.h kernel-doc warning Cc: Andrew Morton From: Randy Dunlap X-Enigmail-Draft-Status: N1110 Message-ID: <56B54CFB.9050904@infradead.org> Date: Fri, 5 Feb 2016 17:31:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix kernel-doc warning for missing struct field notation. ..//include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size' Signed-off-by: Randy Dunlap --- include/linux/spi/spi.h | 2 ++ 1 file changed, 2 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- lnx-45-rc2.orig/include/linux/spi/spi.h +++ lnx-45-rc2/include/linux/spi/spi.h @@ -303,6 +303,8 @@ static inline void spi_unregister_driver * @min_speed_hz: Lowest supported transfer speed * @max_speed_hz: Highest supported transfer speed * @flags: other constraints relevant to this driver + * @max_transfer_size: function that returns the max transfer size for + * a &spi_device; may be %NULL, so the default %SIZE_MAX will be used. * @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