summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-04-14 11:08:08 +0200
committerBen Hutchings <ben@decadent.org.uk>2016-08-22 22:37:50 +0100
commit35d7cfb3d3c5873e8e2e9de8f85642b8393cb3f1 (patch)
treed5d1b8b09538b58fb2b7603e40f56022ac1bbf83 /Documentation
parent638c0993e303ae9427f89a7d00b0cea265f47989 (diff)
downloadlinux-stable-35d7cfb3d3c5873e8e2e9de8f85642b8393cb3f1.tar.gz
linux-stable-35d7cfb3d3c5873e8e2e9de8f85642b8393cb3f1.tar.bz2
linux-stable-35d7cfb3d3c5873e8e2e9de8f85642b8393cb3f1.zip
serial: doc: Re-add paragraph documenting uart_console_write()
commit d124fd3bb36ceb40438f10c897ce642386b74b72 upstream. Commit 834392a7d92677ff ("serial: doc: Un-document non-existing uart_write_console()") removed a paragraph about a helper function that seemed to never exist. Peter Hurley pointed out that the function does exist, but is called differently. Re-add the paragraph, with the function name corrected. Fixes: 834392a7d92677ff ("serial: doc: Un-document non-existing uart_write_console()") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/serial/driver5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver
index cd809c70ca8a..c86d002486f1 100644
--- a/Documentation/serial/driver
+++ b/Documentation/serial/driver
@@ -28,6 +28,11 @@ The serial core provides a few helper functions. This includes identifing
the correct port structure (via uart_get_console) and decoding command line
arguments (uart_parse_options).
+There is also a helper function (uart_console_write) which performs a
+character by character write, translating newlines to CRLF sequences.
+Driver writers are recommended to use this function rather than implementing
+their own version.
+
Locking
-------