diff options
-rw-r--r-- | drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c index 82be6b86a168..d1e300dcd544 100644 --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | |||
@@ -58,7 +58,8 @@ static void fsl_dcu_drm_plane_atomic_disable(struct drm_plane *plane, | |||
58 | struct drm_plane_state *old_state) | 58 | struct drm_plane_state *old_state) |
59 | { | 59 | { |
60 | struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private; | 60 | struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private; |
61 | unsigned int index, value, ret; | 61 | unsigned int value; |
62 | int index, ret; | ||
62 | 63 | ||
63 | index = fsl_dcu_drm_plane_index(plane); | 64 | index = fsl_dcu_drm_plane_index(plane); |
64 | if (index < 0) | 65 | if (index < 0) |