summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2019-10-04 20:01:19 +0300
committerJonathan Corbet <corbet@lwn.net>2019-10-18 18:40:13 +0300
commit7867dbb4ea064a27b7d129d31c86a434f851b9df (patch)
treee627de75d2bb98a02fc47a11eedab6e8aca29ca9 /Documentation/driver-api
parenta016e092940f6607fb11ae07f4c90d7f9c6ad87a (diff)
downloadlinux-7867dbb4ea064a27b7d129d31c86a434f851b9df.tar.xz
docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block
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>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/pti_intel_mid.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/driver-api/pti_intel_mid.rst b/Documentation/driver-api/pti_intel_mid.rst
index 20f1cff42d5f..bacc2a4ee89f 100644
--- a/Documentation/driver-api/pti_intel_mid.rst
+++ b/Documentation/driver-api/pti_intel_mid.rst
@@ -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 /////////