summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2012-03-13 14:35:39 +0400
committerDave Airlie <airlied@redhat.com>2012-03-15 13:49:09 +0400
commit2fcfc75b112e897609faed30bcf80565fb005087 (patch)
tree00415fef7256c8cee6f58ef190f4edf2e339721f /include/drm
parent6653cc8d3b8d1c685fbf01cc8a536957045f4609 (diff)
downloadlinux-2fcfc75b112e897609faed30bcf80565fb005087.tar.xz
drm: Change drm_display_mode::type to unsigned
The drm_display_mode type is a bitmask so it should be unsigned. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 2a0872cac333..31715bd4f42a 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -121,7 +121,7 @@ struct drm_display_mode {
char name[DRM_DISPLAY_MODE_LEN];
enum drm_mode_status status;
- int type;
+ unsigned int type;
/* Proposed mode values */
int clock; /* in kHz */