summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-10-29 12:17:39 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-29 12:18:15 -0700
commit1db35ba58353b862ca04a190d46c6f074a21f223 (patch)
tree98e251b56543846933701ea5339d84ad9b8fa269
parentaf118cd186407cd8e72ccd63f6deca56f1ffd905 (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.h4
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;