浏览代码

Documentation/gpu: use code-block with proper language

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>
Jani Nikula 8 年之前
父节点
当前提交
29849a695f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Documentation/gpu/drm-kms.rst
  2. 1 1
      Documentation/gpu/drm-mm.rst

+ 1 - 1
Documentation/gpu/drm-kms.rst

@@ -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)
     {

+ 1 - 1
Documentation/gpu/drm-mm.rst

@@ -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;