提交 2fcfc75b 编写于 作者: V Ville Syrjälä 提交者: Dave Airlie

drm: Change drm_display_mode::type to unsigned

The drm_display_mode type is a bitmask so it should be unsigned.
Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 6653cc8d
...@@ -121,7 +121,7 @@ struct drm_display_mode { ...@@ -121,7 +121,7 @@ struct drm_display_mode {
char name[DRM_DISPLAY_MODE_LEN]; char name[DRM_DISPLAY_MODE_LEN];
enum drm_mode_status status; enum drm_mode_status status;
int type; unsigned int type;
/* Proposed mode values */ /* Proposed mode values */
int clock; /* in kHz */ int clock; /* in kHz */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册