Skip to content

Commit 3ec17cb

Browse files
akiyksgregkh
authored andcommitted
docs/driver-api/miscellaneous: Remove kernel-doc of serial_core.c
Since merge of tty-6.0-rc1, "make htmldocs" with Sphinx >=3.1 emits a bunch of warnings indicating duplicate kernel-doc comments from drivers/tty/serial/serial_core.c. This is due to the kernel-doc directive for serial_core.c in serial/drivers.rst added in the merge. It conflicts with an existing kernel-doc directive in miscellaneous.rst. Remove the latter directive and resolve the duplicates. Signed-off-by: Akira Yokosawa <[email protected]> Fixes: 607ca0f ("Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty") Cc: [email protected] # 6.0 Cc: Jiri Slaby <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1980860 commit 3ec17cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/driver-api/miscellaneous.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ Parallel Port Devices
1616
16x50 UART Driver
1717
=================
1818

19-
.. kernel-doc:: drivers/tty/serial/serial_core.c
20-
:export:
21-
2219
.. kernel-doc:: drivers/tty/serial/8250/8250_core.c
2320
:export:
2421

22+
See serial/driver.rst for related APIs.
23+
2524
Pulse-Width Modulation (PWM)
2625
============================
2726

0 commit comments

Comments
 (0)