{
int i, dispid_length;
u8 csum = 0;
- const struct displayid_hdr *base;
+ const struct displayid_header *base;
- base = (const struct displayid_hdr *)&displayid[idx];
+ base = (const struct displayid_header *)&displayid[idx];
DRM_DEBUG_KMS("base revision 0x%x, length %d, %d %d\n",
base->rev, base->bytes, base->prod_id, base->ext_count);
int *ext_index)
{
const u8 *displayid = drm_find_edid_extension(edid, DISPLAYID_EXT, ext_index);
- const struct displayid_hdr *base;
+ const struct displayid_header *base;
int ret;
if (!displayid)
if (ret)
return NULL;
- base = (const struct displayid_hdr *)&displayid[*idx];
+ base = (const struct displayid_header *)&displayid[*idx];
*length = *idx + sizeof(*base) + base->bytes;
return displayid;
return NULL;
}
- iter->idx += sizeof(struct displayid_hdr);
+ iter->idx += sizeof(struct displayid_header);
block = displayid_iter_block(iter);
if (block)