diff options
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
-rw-r--r-- | drivers/gpu/drm/drm_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c index a5d1fc7e8a37..6d2a6e428a3e 100644 --- a/drivers/gpu/drm/drm_plane.c +++ b/drivers/gpu/drm/drm_plane.c | |||
@@ -104,7 +104,7 @@ static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane | |||
104 | if (IS_ERR(blob)) | 104 | if (IS_ERR(blob)) |
105 | return -1; | 105 | return -1; |
106 | 106 | ||
107 | blob_data = (struct drm_format_modifier_blob *)blob->data; | 107 | blob_data = blob->data; |
108 | blob_data->version = FORMAT_BLOB_CURRENT; | 108 | blob_data->version = FORMAT_BLOB_CURRENT; |
109 | blob_data->count_formats = plane->format_count; | 109 | blob_data->count_formats = plane->format_count; |
110 | blob_data->formats_offset = sizeof(struct drm_format_modifier_blob); | 110 | blob_data->formats_offset = sizeof(struct drm_format_modifier_blob); |