aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 07:53:35 -0400
committerDave Airlie <airlied@redhat.com>2013-10-09 01:55:31 -0400
commitbf507d90cf0eecf5495f66f21dbb66e35e9131ae (patch)
treed1c36aa665cc03c3ba3e958e9c6c0bef9645a0b0 /drivers/gpu/drm/omapdrm
parent54edf9aec79779f85d49674580b7ccab4d6f3c4a (diff)
drm: Make vblank_enabled bool
vblank_enabled is only ever 0 or 1, so make it a bool. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
index 9263db117ff8..3cbe92c72fd5 100644
--- a/drivers/gpu/drm/omapdrm/omap_irq.c
+++ b/drivers/gpu/drm/omapdrm/omap_irq.c
@@ -308,7 +308,7 @@ int omap_drm_irq_uninstall(struct drm_device *dev)
308 spin_lock_irqsave(&dev->vbl_lock, irqflags); 308 spin_lock_irqsave(&dev->vbl_lock, irqflags);
309 for (i = 0; i < dev->num_crtcs; i++) { 309 for (i = 0; i < dev->num_crtcs; i++) {
310 DRM_WAKEUP(&dev->vbl_queue[i]); 310 DRM_WAKEUP(&dev->vbl_queue[i]);
311 dev->vblank_enabled[i] = 0; 311 dev->vblank_enabled[i] = false;
312 dev->last_vblank[i] = 312 dev->last_vblank[i] =
313 dev->driver->get_vblank_counter(dev, i); 313 dev->driver->get_vblank_counter(dev, i);
314 } 314 }