aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2019-10-04 19:01:19 +0200
committerJonathan Corbet <corbet@lwn.net>2019-10-18 09:40:13 -0600
commit7867dbb4ea064a27b7d129d31c86a434f851b9df (patch)
treee627de75d2bb98a02fc47a11eedab6e8aca29ca9 /Documentation/driver-api
parentdocs: admin-guide: dell_rbu: Improve formatting and spelling (diff)
downloadwireguard-linux-7867dbb4ea064a27b7d129d31c86a434f851b9df.tar.xz
wireguard-linux-7867dbb4ea064a27b7d129d31c86a434f851b9df.zip
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 /////////