Skip to content

Commit

Permalink
drm/shmobile: Drop usage of removed drm_plane enabled field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart authored and Dave Airlie committed Jun 20, 2013
1 parent 2791197 commit d6f76f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/shmobile/shmob_drm_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d6f76f3

Please sign in to comment.