Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp317647pxu; Tue, 6 Oct 2020 07:11:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxY0d7JnkC+PQIKJkE/M0G3g0q/Veikt40t4l0QR/XFsWSLxgHgSBq6w5WDJlkUT5YX2CfU X-Received: by 2002:a17:906:f51:: with SMTP id h17mr5323704ejj.534.1601993502047; Tue, 06 Oct 2020 07:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993502; cv=none; d=google.com; s=arc-20160816; b=a/RAkTRQKmoCTxxA6i9WiBoIx7ULrZh9BqSA8Nf2Su6VhSd23i28q78xULEDeKi1sD ThheR4jD1Wwht1vCa4ZuM06ajxBVXWpqVL4b7Ah9pGpIWnvZ+UXjvKXTsAXFzv+En5nm m8wEHnRCbHKFH5eV2ekh/SWgAW+G8qXsxIKpgd/NWpGagC+I9KqRMFgicJ7VG6FkmM7W rP/40FQij+dQy30LSfWHc4fiedm99hKWmZ63pMVuYxtSRXRIBxHkjjaBiIWK6uiElb9n 6OZWOgHueVBF6sjzEDFMxs9Ed3laPKbfDMU7VbYGcUv6Et5kjAO+UPvfV4uQYoxsqC/S wOEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QGzohygvsfpkPQGb4IkANmAPh102OQ8oJRBZJlwBxV4=; b=sHlWJoKjcssfSIJbYkSNwJQfhxwPr8B0s1frq8lbC6ohsyh8udzio91E7P2f+hMZ9e PK0+YDgtvHhimDiN32FvFWKYSuymkfxMRbqlcMp5xyxQc4Wtti8Fmr0xil3i0DDp7RKk kAeTUjGQc8HI6W+Oqi12faw/KvFg1x+JnOIjs3EayxVxwPI46neoHblhJ9clI74K+HhL CpSeKlUKKZ9OXaN705XSsJ1ClMgjvl81FLBtd0LNBsG+SSxyzoFeuwO4HZA1jwBLrzLv 2kaRAt0u/lXYCa1y7JgJ11DDmpXyRLhbeTExhpHi/p5LEspBzQ8LgP9vKFGCUxtl90kT xV9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=juHJUVtP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si2044381ejf.458.2020.10.06.07.11.18; Tue, 06 Oct 2020 07:11:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=juHJUVtP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727084AbgJFOHD (ORCPT + 99 others); Tue, 6 Oct 2020 10:07:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:33530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbgJFODz (ORCPT ); Tue, 6 Oct 2020 10:03:55 -0400 Received: from mail.kernel.org (ip5f5ad5bd.dynamic.kabel-deutschland.de [95.90.213.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49F2B21D20; Tue, 6 Oct 2020 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993034; bh=KEhDi0VPgM7hCIhR/9xG2Kx3ZY+OBLtU3k7jdAK2xak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=juHJUVtP5boXy8II5k5SE/FcwgBGvZhSpIW9lu4Eziz6HZbQEZtt9EQ+nsjEdBv7w Oye/ag5Hekz6+zneaYUwksS3bR/GmmfdZ14NQnXTouxKKx1prz/bOw5QsZZdI1YV8D xUd8Rc0hiIUD13fs2/tvegdVD098urOU3RsPauck= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019Fr-D4; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH v5 31/52] docs: device_link.rst: remove duplicated kernel-doc include Date: Tue, 6 Oct 2020 16:03:28 +0200 Message-Id: <952d83bbbbb0040a95fa3a869b8441a1cb9314b8.1601992016.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The infrastructure.rst file already includes the external symbols from drivers/base/core.c. Duplicating 3 functions there causes namespace collisions: Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'. Declaration is 'device_link_state'. Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'. Declaration is 'device_link_add'. Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'. Declaration is 'device_link_del'. Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'. Declaration is 'device_link_remove'. So, drop the reference, adding just a mention to the functions associated with device_link. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/device_link.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/driver-api/device_link.rst b/Documentation/driver-api/device_link.rst index 76950d061632..ee913ae16371 100644 --- a/Documentation/driver-api/device_link.rst +++ b/Documentation/driver-api/device_link.rst @@ -317,5 +317,4 @@ State machine API === -.. kernel-doc:: drivers/base/core.c - :functions: device_link_add device_link_del device_link_remove +See device_link_add(), device_link_del() and device_link_remove(). -- 2.26.2