drm/shmobile: Drop usage of removed drm_plane enabled field
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 19 Jun 2013 14:45:50 +0000 (16:45 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Jun 2013 04:06:39 +0000 (14:06 +1000)
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>
drivers/gpu/drm/shmobile/shmob_drm_plane.c

index e1eb899..22b1d45 100644 (file)
@@ -166,7 +166,7 @@ void shmob_drm_plane_setup(struct drm_plane *plane)
 {
        struct shmob_drm_plane *splane = to_shmob_plane(plane);
 
-       if (plane->fb == NULL || !plane->enabled)
+       if (plane->fb == NULL)
                return;
 
        __shmob_drm_plane_setup(splane, plane->fb);