Skip to content

Commit

Permalink
Documentation/gpu: use code-block with proper language
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jani Nikula committed Nov 3, 2016
1 parent 57131dd commit 29849a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/gpu/drm-kms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion Documentation/gpu/drm-mm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 29849a6

Please sign in to comment.