]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/drm_plane.c
Merge airlied/drm-next into drm-misc-next
[linux.git] / drivers / gpu / drm / drm_plane.c
index a5d1fc7e8a37bece80bd8682c19b9b4e3eb4461d..6d2a6e428a3eac751877507f258d932e3112f5a8 100644 (file)
@@ -104,7 +104,7 @@ static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane
        if (IS_ERR(blob))
                return -1;
 
-       blob_data = (struct drm_format_modifier_blob *)blob->data;
+       blob_data = blob->data;
        blob_data->version = FORMAT_BLOB_CURRENT;
        blob_data->count_formats = plane->format_count;
        blob_data->formats_offset = sizeof(struct drm_format_modifier_blob);