Skip to content

Commit

Permalink
drm: Change drm_display_mode::type to unsigned
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Syrjälä authored and Dave Airlie committed Mar 15, 2012
1 parent 6653cc8 commit 2fcfc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drm/drm_crtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2fcfc75

Please sign in to comment.