[PATCH v6 27/80] docs: genericirq.rst: don't document chip.c functions twice

From: Mauro Carvalho Chehab
Date: Tue Oct 13 2020 - 08:01:56 EST


Currently, kernel/irq/chip.c is included twice, one for
export functions, and then for internal ones. However, as
the :export: and :internal: tags are missing, they ended
being included twice.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
Documentation/core-api/genericirq.rst | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
index 8f06d885c310..f959c9b53f61 100644
--- a/Documentation/core-api/genericirq.rst
+++ b/Documentation/core-api/genericirq.rst
@@ -419,6 +419,7 @@ functions which are exported.
.. kernel-doc:: kernel/irq/manage.c

.. kernel-doc:: kernel/irq/chip.c
+ :export:

Internal Functions Provided
===========================
@@ -431,6 +432,7 @@ functions.
.. kernel-doc:: kernel/irq/handle.c

.. kernel-doc:: kernel/irq/chip.c
+ :internal:

Credits
=======
--
2.26.2