@@ -11,9 +11,9 @@ static int validate_displayid(const u8 *displayid, int length, int idx)
11
11
{
12
12
int i , dispid_length ;
13
13
u8 csum = 0 ;
14
- const struct displayid_hdr * base ;
14
+ const struct displayid_header * base ;
15
15
16
- base = (const struct displayid_hdr * )& displayid [idx ];
16
+ base = (const struct displayid_header * )& displayid [idx ];
17
17
18
18
DRM_DEBUG_KMS ("base revision 0x%x, length %d, %d %d\n" ,
19
19
base -> rev , base -> bytes , base -> prod_id , base -> ext_count );
@@ -38,7 +38,7 @@ static const u8 *drm_find_displayid_extension(const struct edid *edid,
38
38
int * ext_index )
39
39
{
40
40
const u8 * displayid = drm_find_edid_extension (edid , DISPLAYID_EXT , ext_index );
41
- const struct displayid_hdr * base ;
41
+ const struct displayid_header * base ;
42
42
int ret ;
43
43
44
44
if (!displayid )
@@ -52,7 +52,7 @@ static const u8 *drm_find_displayid_extension(const struct edid *edid,
52
52
if (ret )
53
53
return NULL ;
54
54
55
- base = (const struct displayid_hdr * )& displayid [* idx ];
55
+ base = (const struct displayid_header * )& displayid [* idx ];
56
56
* length = * idx + sizeof (* base ) + base -> bytes ;
57
57
58
58
return displayid ;
@@ -118,7 +118,7 @@ __displayid_iter_next(struct displayid_iter *iter)
118
118
return NULL ;
119
119
}
120
120
121
- iter -> idx += sizeof (struct displayid_hdr );
121
+ iter -> idx += sizeof (struct displayid_header );
122
122
123
123
block = displayid_iter_block (iter );
124
124
if (block )
0 commit comments