From 1db35ba58353b862ca04a190d46c6f074a21f223 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Wed, 29 Oct 2008 12:17:39 -0700 Subject: libdrm: fix ABI change in drm_mode_get_encoder The encoder_type field should be at the top to match the kernel. --- shared-core/drm_mode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared-core') 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; -- cgit v1.2.3