diff options
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_edid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index 8cefbbee996e..0cac551c5347 100644 --- a/include/drm/drm_edid.h +++ b/include/drm/drm_edid.h | |||
@@ -99,7 +99,7 @@ struct detailed_data_monitor_range { | |||
99 | __le16 m; | 99 | __le16 m; |
100 | u8 k; | 100 | u8 k; |
101 | u8 j; /* need to divide by 2 */ | 101 | u8 j; /* need to divide by 2 */ |
102 | } gtf2; | 102 | } __attribute__((packed)) gtf2; |
103 | struct { | 103 | struct { |
104 | u8 version; | 104 | u8 version; |
105 | u8 data1; /* high 6 bits: extra clock resolution */ | 105 | u8 data1; /* high 6 bits: extra clock resolution */ |
@@ -108,7 +108,7 @@ struct detailed_data_monitor_range { | |||
108 | u8 flags; /* preferred aspect and blanking support */ | 108 | u8 flags; /* preferred aspect and blanking support */ |
109 | u8 supported_scalings; | 109 | u8 supported_scalings; |
110 | u8 preferred_refresh; | 110 | u8 preferred_refresh; |
111 | } cvt; | 111 | } __attribute__((packed)) cvt; |
112 | } formula; | 112 | } formula; |
113 | } __attribute__((packed)); | 113 | } __attribute__((packed)); |
114 | 114 | ||