From patchwork Wed Jun 8 12:29:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Jander X-Patchwork-Id: 580196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4944AC43334 for ; Wed, 8 Jun 2022 12:29:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238918AbiFHM3j (ORCPT ); Wed, 8 Jun 2022 08:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238751AbiFHM3i (ORCPT ); Wed, 8 Jun 2022 08:29:38 -0400 Received: from smtp28.bhosted.nl (smtp28.bhosted.nl [IPv6:2a02:9e0:8000::40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FEBE250256 for ; Wed, 8 Jun 2022 05:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonic.nl; s=202111; h=content-transfer-encoding:mime-version:message-id:date:subject:cc:to:from: from; bh=vTMdtugGnM584xfHBfo4nxQBMNqaBwaPOIcXdoD7whU=; b=REGfi+758xN+f1Ie3nbnSv2+F8c5C+rXbVp1UTXplbPa7yJMT7nogbP0UFO41VgIzD6mHX/7G10WI 63pLfykULb+h0c5JHTB93BCgk3eenlroPRF0YS30oxucEu/tYWtxyaAM9pw25dosFKculZqa4/35rt /KJZ392VD43UAiUzwyxuiqGG/4EQn3DJhGEGY+DD+dTHig1Me/PmmxM1clfLVw1T4SCDgQMxCPs2DZ EP+FfcSnXhlon84f7MhjXR+HnAyBny4KPIoy01jTMlYVCctQQbgrnOjmDlf7wi6rsQ9enWWCFdX1PT QwaaOhYqK+Ps88rdW+jS0Ejr57jpZzA== X-MSG-ID: a6fb1b21-e726-11ec-a2aa-0050569d11ae From: David Jander To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Linux Next Mailing List , Stephen Rothwell , David Jander Subject: [PATCH] include: linux: spi: spi.h: Add missing documentation for struct members Date: Wed, 8 Jun 2022 14:29:17 +0200 Message-Id: <20220608122917.2892953-1-david@protonic.nl> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Fixes "make htmldocs" warnings. Reported-by: Stephen Rothwell Signed-off-by: David Jander --- include/linux/spi/spi.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index eac8d3caf954..2e63b4935deb 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -35,7 +35,8 @@ extern struct bus_type spi_bus_type; /** * struct spi_statistics - statistics for spi transfers - * @lock: lock protecting this structure + * @syncp: seqcount to protect members in this struct for per-cpu udate + * on 32-bit systems * * @messages: number of spi-messages handled * @transfers: number of spi_transfers handled @@ -155,7 +156,7 @@ extern int spi_delay_exec(struct spi_delay *_delay, struct spi_transfer *xfer); * @cs_inactive: delay to be introduced by the controller after CS is * deasserted. If @cs_change_delay is used from @spi_transfer, then the * two delays will be added up. - * @statistics: statistics for the spi_device + * @pcpu_statistics: statistics for the spi_device * * A @spi_device is used to interchange data between an SPI slave * (usually a discrete chip) and CPU memory. @@ -439,7 +440,7 @@ extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 ch * @max_native_cs: When cs_gpiods is used, and this field is filled in, * spi_register_controller() will validate all native CS (including the * unused native CS) against this value. - * @statistics: statistics for the spi_controller + * @pcpu_statistics: statistics for the spi_controller * @dma_tx: DMA transmit channel * @dma_rx: DMA receive channel * @dummy_rx: dummy receive buffer for full-duplex devices