forked from Minki/linux
drm/shmobile: Drop usage of removed drm_plane enabled field
The enabled field has been removed from struct drm_plane. Don't use it in the driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
279119776d
commit
d6f76f3707
@ -166,7 +166,7 @@ void shmob_drm_plane_setup(struct drm_plane *plane)
|
|||||||
{
|
{
|
||||||
struct shmob_drm_plane *splane = to_shmob_plane(plane);
|
struct shmob_drm_plane *splane = to_shmob_plane(plane);
|
||||||
|
|
||||||
if (plane->fb == NULL || !plane->enabled)
|
if (plane->fb == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
__shmob_drm_plane_setup(splane, plane->fb);
|
__shmob_drm_plane_setup(splane, plane->fb);
|
||||||
|
Loading…
Reference in New Issue
Block a user