Skip to content

Commit

Permalink
Documentation: serial: link uart_ops properly
Browse files Browse the repository at this point in the history
The syntax to reference a struct in text is "struct XY". So reference
uart_ops properly, so that hyperlinks work.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220728061056.20799-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jul 28, 2022
1 parent 27940ab commit d34d7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/driver-api/serial/driver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Locking

It is the responsibility of the low level hardware driver to perform the
necessary locking using port->lock. There are some exceptions (which
are described in the uart_ops listing below.)
are described in the struct uart_ops listing below.)

There are two locks. A per-port spinlock, and an overall semaphore.

Expand Down

0 comments on commit d34d7c4

Please sign in to comment.