Documentation: fix tty link
authorJiri Slaby <jslaby@suse.cz>
Tue, 19 Apr 2022 07:43:02 +0000 (09:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 14:45:05 +0000 (16:45 +0200)
The commit below causes the following warnings:
Documentation/driver-api/index.rst:14: WARNING: toctree contains reference to nonexisting document 'driver-api/tty'
Documentation/driver-api/tty/index.rst: WARNING: document isn't included in any toctree

This is because I omitted the "/index" part from the link. That part is
needed for directories and I was confused by the surrounding links which
are links to files. Fix it in this patch.

Fixes: b96cd8b05ead ("Documentation: move tty to driver-api")
Cc: Jonathan Corbet <corbet@lwn.net>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220419074302.29632-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/index.rst

index bbbbcf20b7ce4e43bb0205b6989310c156b5713b..d76a60d95b58876ee856d5f76fdd44bf639795ad 100644 (file)
@@ -101,7 +101,7 @@ available subsections can be seen below.
    surface_aggregator/index
    switchtec
    sync_file
-   tty
+   tty/index
    vfio-mediated-device
    vfio
    vfio-pci-device-specific-driver-acceptance