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:
Laurent Pinchart 2013-06-19 16:45:50 +02:00 committed by Dave Airlie
parent 279119776d
commit d6f76f3707

View File

@ -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);