Browse Source

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>
Laurent Pinchart 12 years ago
parent
commit
d6f76f3707
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/shmobile/shmob_drm_plane.c

+ 1 - 1
drivers/gpu/drm/shmobile/shmob_drm_plane.c

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