]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm: Change drm_display_mode::type to unsigned
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Mar 2012 10:35:39 +0000 (12:35 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Mar 2012 09:49:09 +0000 (09:49 +0000)
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>
include/drm/drm_crtc.h

index 2a0872cac333856bf20459060135b9ff4c0e0e80..31715bd4f42a1d1d88614668d9b40ef3aa69f319 100644 (file)
@@ -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 */