Documentation/gpu: use code-block with proper language
authorJani Nikula <jani.nikula@intel.com>
Thu, 3 Nov 2016 09:44:23 +0000 (11:44 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 3 Nov 2016 10:39:13 +0000 (12:39 +0200)
Now that we don't have automatic syntax highlighting, use the code-block
directive with the explicitly selected language, where appropriate.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/gpu/drm-kms.rst
Documentation/gpu/drm-mm.rst

index 53b872c105d24f0741e06f463ab2fdadbb0c01cd..38af5d1cc59f53f6ab915e263ff30a653310b010 100644 (file)
@@ -215,7 +215,7 @@ Connectors state change detection must be cleanup up with a call to
 Output discovery and initialization example
 -------------------------------------------
 
-::
+.. code-block:: c
 
     void intel_crt_init(struct drm_device *dev)
     {
index bca808535dfd85ff1810e9b4ce3d31d853a279fd..cb5daffcd6be2167c77c2f1da6dd8feb0ce40050 100644 (file)
@@ -45,7 +45,7 @@ the radeon_ttm.c file for an example of usage.
 
 The ttm_global_reference structure is made up of several fields:
 
-::
+.. code-block:: c
 
               struct ttm_global_reference {
                       enum ttm_global_types global_type;