mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block
@ 2019-10-04 17:01 Jonathan Neuschäfer
  2019-10-18 15:45 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2019-10-04 17:01 UTC (permalink / raw)
  To: linux-doc
  Cc: Jonathan Neuschäfer, Jonathan Corbet, Mauro Carvalho Chehab,
	Cornelia Huck, Logan Gunthorpe, linux-kernel

This makes the code snippet more readable.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 Documentation/driver-api/pti_intel_mid.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 /////////

--
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-18 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 17:01 [PATCH] docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block Jonathan Neuschäfer
2019-10-18 15:45 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®