[PATCH 13/14] docs: staging: don't use literalinclude

From: Mauro Carvalho Chehab
Date: Fri May 01 2020 - 11:38:10 EST


Such directive cause troubles with PDF output.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
Documentation/staging/index.rst | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Documentation/staging/index.rst b/Documentation/staging/index.rst
index 8e98517675ca..8cc9d94b0a13 100644
--- a/Documentation/staging/index.rst
+++ b/Documentation/staging/index.rst
@@ -19,14 +19,17 @@ Unsorted Documentation
Atomic Types
============

-.. literalinclude:: ../atomic_t.txt
+.. include:: ../atomic_t.txt
+ :literal:

Atomic bitops
=============

-.. literalinclude:: ../atomic_bitops.txt
+.. include:: ../atomic_bitops.txt
+ :literal:

Memory Barriers
===============

-.. literalinclude:: ../memory-barriers.txt
+.. include:: ../memory-barriers.txt
+ :literal:
--
2.25.4