Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp687594imn; Sat, 2 Jul 2022 04:10:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uk9scmAvJwdQMN7EqHTiOElhvmSy3FFD5DNkW7dIHOIntfkrIZ3EonwwsODnVgrNC6C1KB X-Received: by 2002:a63:385c:0:b0:40c:bd3a:1506 with SMTP id h28-20020a63385c000000b0040cbd3a1506mr16115395pgn.366.1656760225142; Sat, 02 Jul 2022 04:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656760225; cv=none; d=google.com; s=arc-20160816; b=qP8Oe4g6vPOeDaA3VNb3mc6R2T1JBE4ZG6jqKY0bnae8F9RO3kwdGf1q06HxBg5g1n 7uLt5E5VXpc/o9bT/ri7ZQxDG4BfyFNDKk/NHlgUq7w0HVUxhuRvD94jzrl1cP5KA8xy vre6e/I66A7GQ3c+spIBvXhTt7Vc7Z59uQWmIYR+lo63CGKkHWxSSTOm08wkQ/EQZkaQ 6KcocpsujbHmZLbBUvSQ+c5JkBqmHE7qdD+1HWjRvfX7XVXKVD+ntU2DGtRJ0uaHAiEz aTqbSlFtEgfM1ObECnMUFGoB80rARH7g3ILpw+lxDw3TZMxR5QKUxLqFd5fYdtJf+Kyc W8Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o+UZ9dJZ35i3Oci/q2IxbFkhUEq7Ap0x2gJFC5BW+4k=; b=lRFOXHgkYXTf/YsHXEdEiB5mK2hDoo1TJZQUCTh4oR/aG8Yt4ZMWl7ECl7s4yrl6MU KzqGwcnb+TlI/cwQyp3rUXH+O5DCsDIE1kxNrJS14+IQ6R0YkNWegm0mDbN8gZnXnd2X 8wKkI4SVAC+xgoVZzcBDh6He6+aoUcxewyOxS+jsWZGPAGl7hBSivQIQSIUMecTX8dJr J8kWrdUZB2vM99Ee1k5WsAGwloYbvHTdYXfTwfZrPYPymUl249MUhSB2EiYWqWTnEgCE qDUnQ0Emd8oWYdIjNjm2/GWag4PCTDAuvE1re9NcpNe21zaYqYFj72/WinDsMKJV6dvC qAAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rZOBBQfH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d28-20020a630e1c000000b0040c9c298a34si32584014pgl.534.2022.07.02.04.10.12; Sat, 02 Jul 2022 04:10:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rZOBBQfH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232469AbiGBLIb (ORCPT + 99 others); Sat, 2 Jul 2022 07:08:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232131AbiGBLHw (ORCPT ); Sat, 2 Jul 2022 07:07:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E4015A23; Sat, 2 Jul 2022 04:07:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D0C8FB81D65; Sat, 2 Jul 2022 11:07:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12272C341CF; Sat, 2 Jul 2022 11:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656760068; bh=MUtQumptp1S/XDH3DSm7yGwg6amST7HBoH5oOaTodtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rZOBBQfHQAfaDPDZTrfoZWmJyP+X7FYFjcgB0pE7CCFFDQQVM6gdwmRjfyKWuptVW +xanstIS4FDR7LkZyhSt2f5/mWmtZbaf1r7rnojJ4hRNP3srJOMXYM8feMsB+7GUJT oVFnOKPQj9C4gihRlVjPpEzi6//Cju8UesjMNBlM4L2xQ4gOphowDZQTVZXd52vVz9 /2LDAlT1VWJ5ddJDz170pesDwCQWouNTDiW8xh8rewCBRJ2H2CScNCSbdVIx0xn6jT bLK8uA7IIaSPFTGSD/YfYiq0t9TXvg1bx070UUn6Srrr0SBdSwIobVSLcq6CLu4+h6 Thhroy1iqNPlQ== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1o7ayX-007gru-KO; Sat, 02 Jul 2022 12:07:45 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Mauro Carvalho Chehab" , Dipen Patel , Jonathan Hunter , Thierry Reding , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 02/12] docs: tegra194-hte.rst: don't include gpiolib.c twice Date: Sat, 2 Jul 2022 12:07:34 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All extern functions of drivers/gpio/gpiolib.c are already inside the Kernel documentation, as driver-api/gpio/index.rst already includes it. Placing a kernel-doc here will only cause mess, as the same symbol will be placed on two parts of the document, causing breakages in cross-references. So, instead, add a cross-reference there. This solves those Sphinx 3.1+ warnings: .../Documentation/driver-api/hte/tegra194-hte:28: ./drivers/gpio/gpiolib.c:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464. .../Documentation/driver-api/hte/tegra194-hte:28: ./drivers/gpio/gpiolib.c:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493. .../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464. .../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464. .../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464. .../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493. .../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493. .../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/12] at: https://lore.kernel.org/all/cover.1656759988.git.mchehab@kernel.org/ Documentation/driver-api/hte/tegra194-hte.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/driver-api/hte/tegra194-hte.rst b/Documentation/driver-api/hte/tegra194-hte.rst index d29b7fe86f31..f2d617265546 100644 --- a/Documentation/driver-api/hte/tegra194-hte.rst +++ b/Documentation/driver-api/hte/tegra194-hte.rst @@ -25,8 +25,7 @@ and userspace consumers. The kernel space consumers can directly talk to HTE subsystem while userspace consumers timestamp requests go through GPIOLIB CDEV framework to HTE subsystem. -.. kernel-doc:: drivers/gpio/gpiolib.c - :functions: gpiod_enable_hw_timestamp_ns gpiod_disable_hw_timestamp_ns +See gpiod_enable_hw_timestamp_ns() and gpiod_disable_hw_timestamp_ns(). For userspace consumers, GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE flag must be specified during IOCTL calls. Refer to ``tools/gpio/gpio-event-mon.c``, which -- 2.36.1