@@ -303,7 +303,7 @@ int exynos_plane_init(struct drm_device *dev,
BIT(DRM_MODE_BLEND_COVERAGE);
struct drm_plane *plane = &exynos_plane->base;
- err = drm_universal_plane_init(dev, &exynos_plane->base,
+ err = drm_universal_plane_init(dev, plane,
1 << dev->mode_config.num_crtc,
&exynos_plane_funcs,
config->pixel_formats,
@@ -314,12 +314,12 @@ int exynos_plane_init(struct drm_device *dev,
return err;
}
- drm_plane_helper_add(&exynos_plane->base, &plane_helper_funcs);
+ drm_plane_helper_add(plane, &plane_helper_funcs);
exynos_plane->index = index;
exynos_plane->config = config;
- exynos_plane_attach_zpos_property(&exynos_plane->base, config->zpos,
+ exynos_plane_attach_zpos_property(plane, config->zpos,
!(config->capabilities & EXYNOS_DRM_PLANE_CAP_ZPOS));
if (config->capabilities & EXYNOS_DRM_PLANE_CAP_PIX_BLEND)
Use available drm_plane pointer, for consistency. Signed-off-by: Christoph Manszewski <c.manszewski@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)