Commit 7867dbb4 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Jonathan Corbet

docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block

This makes the code snippet more readable.
Signed-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent a016e092
...@@ -49,7 +49,9 @@ but is not just blindly executing as 'root'. Keep in mind ...@@ -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 the use of ioctl(,TIOCSETD,) is not specific to the n_tracerouter
and n_tracesink line discpline drivers but is a generic and n_tracesink line discpline drivers but is a generic
operation for a program to use a line discpline driver 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 ///////// /////////// To hook up n_tracerouter and n_tracesink /////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment