diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-29 12:17:39 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-29 12:18:15 -0700 |
commit | 1db35ba58353b862ca04a190d46c6f074a21f223 (patch) | |
tree | 98e251b56543846933701ea5339d84ad9b8fa269 | |
parent | af118cd186407cd8e72ccd63f6deca56f1ffd905 (diff) |
libdrm: fix ABI change in drm_mode_get_encoder
The encoder_type field should be at the top to match the kernel.
-rw-r--r-- | shared-core/drm_mode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h index 0c378f44..bd3d257e 100644 --- a/shared-core/drm_mode.h +++ b/shared-core/drm_mode.h @@ -126,10 +126,10 @@ struct drm_mode_crtc { #define DRM_MODE_ENCODER_TVDAC 4 struct drm_mode_get_encoder { + unsigned int encoder_type; unsigned int encoder_id; - unsigned int crtc_id; /**< Id of crtc */ - uint32_t encoder_type; + unsigned int crtc_id; /**< Id of crtc */ uint32_t possible_crtcs; uint32_t possible_clones; |