diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-06-19 16:45:50 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-20 14:06:39 +1000 |
commit | d6f76f3707b809c1a7f7b7a931f6e7aaa861e0e2 (patch) | |
tree | 91f1c013f125ac308d4cb0f127ff7cca67d2c2ed /drivers/gpu/drm/shmobile | |
parent | 279119776d98305af08466c6cc9b7869c57c706f (diff) | |
download | linux-d6f76f3707b809c1a7f7b7a931f6e7aaa861e0e2.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/shmobile')
-rw-r--r-- | drivers/gpu/drm/shmobile/shmob_drm_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/shmobile/shmob_drm_plane.c index e1eb899b0288..22b1d45d82d3 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_plane.c +++ b/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); |