drm: Change drm_display_mode::type to unsigned
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Mar 2012 14:46:04 +0000 (16:46 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:36 +0000 (12:30 +0300)
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>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
include/drm/drm_crtc.h

index efc84c1..f63f597 100644 (file)
@@ -122,7 +122,7 @@ struct drm_display_mode {
 
        int connector_count;
        enum drm_mode_status status;
-       int type;
+       unsigned int type;
 
        /* Proposed mode values */
        int clock;              /* in kHz */