OSDN Git Service

docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 4 Oct 2019 17:01:19 +0000 (19:01 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 18 Oct 2019 15:40:13 +0000 (09:40 -0600)
This makes the code snippet more readable.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/driver-api/pti_intel_mid.rst

index 20f1cff..bacc2a4 100644 (file)
@@ -49,7 +49,9 @@ but is not just blindly executing as 'root'. Keep in mind
 the use of ioctl(,TIOCSETD,) is not specific to the n_tracerouter
 and n_tracesink line discpline drivers but is a generic
 operation for a program to use a line discpline driver
-on a tty port other than the default n_tty::
+on a tty port other than the default n_tty:
+
+.. code-block:: c
 
   /////////// To hook up n_tracerouter and n_tracesink /////////