Skip to content

Commit 29849a6

Browse files
committed
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>
1 parent 57131dd commit 29849a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/gpu/drm-kms.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Connectors state change detection must be cleanup up with a call to
215215
Output discovery and initialization example
216216
-------------------------------------------
217217

218-
::
218+
.. code-block:: c
219219
220220
void intel_crt_init(struct drm_device *dev)
221221
{

‎Documentation/gpu/drm-mm.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ the radeon_ttm.c file for an example of usage.
4545

4646
The ttm_global_reference structure is made up of several fields:
4747

48-
::
48+
.. code-block:: c
4949
5050
struct ttm_global_reference {
5151
enum ttm_global_types global_type;

0 commit comments

Comments
 (0)