Commit 29849a69 authored by Jani Nikula's avatar Jani Nikula

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: default avatarJani Nikula <jani.nikula@intel.com>
parent 57131dd3
...@@ -215,7 +215,7 @@ Connectors state change detection must be cleanup up with a call to ...@@ -215,7 +215,7 @@ Connectors state change detection must be cleanup up with a call to
Output discovery and initialization example Output discovery and initialization example
------------------------------------------- -------------------------------------------
:: .. code-block:: c
void intel_crt_init(struct drm_device *dev) void intel_crt_init(struct drm_device *dev)
{ {
......
...@@ -45,7 +45,7 @@ the radeon_ttm.c file for an example of usage. ...@@ -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: The ttm_global_reference structure is made up of several fields:
:: .. code-block:: c
struct ttm_global_reference { struct ttm_global_reference {
enum ttm_global_types global_type; enum ttm_global_types global_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment