From: Jesse Barnes Date: Wed, 29 Oct 2008 19:17:39 +0000 (-0700) Subject: libdrm: fix ABI change in drm_mode_get_encoder X-Git-Tag: libdrm-2.4.3~16^2~22^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1db35ba58353b862ca04a190d46c6f074a21f223;p=platform%2Fupstream%2Flibdrm.git libdrm: fix ABI change in drm_mode_get_encoder The encoder_type field should be at the top to match the kernel. --- diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h index 0c378f4..bd3d257 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;