[PATCH 07/12] drm: Shrink mode->type to u8

Ville Syrjala
2020-02-19T20:36:21Z

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

We only have 7 bits defined for mode->type. Shrink the storage to u8.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
include/drm/drm_modes.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h
index 2bb2b1a8592a..5c20285cc317 100644
--- a/include/drm/drm_modes.h
+++ b/include/drm/drm_modes.h
@@ -270,7 +270,7 @@ struct drm_display_mode {
* which are stuck around for hysterical raisins only. No one has an
* idea what they were meant for. Don't use.
*/
- unsigned int type;
+ u8 type;

/**
* @clock:
--
2.24.1