[PATCH] drm/shmobile: Drop usage of removed drm_plane enabled field
Laurent Pinchart
laurent.pinchart+renesas at ideasonboard.com
Wed Jun 19 07:45:50 PDT 2013
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 at ideasonboard.com>
---
drivers/gpu/drm/shmobile/shmob_drm_plane.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This fixes a compilation error in drm-next. I will send a pull request for the
shmob-drm patches by the end of the week.
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/shmobile/shmob_drm_plane.c
index 6898f6f..060ae03 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);
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list