diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-04 07:53:37 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-09 01:55:32 -0400 |
commit | 4423843cde65232c1d553df220e1d133f4a0fa2b (patch) | |
tree | 29c570a6ab044f42f5c21989c6eea4532d8b0847 /drivers/gpu/host1x | |
parent | 5380e9293b865d88de04de6e5324726d8c5b53c9 (diff) |
drm: Make irq_enabled bool
irq_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/host1x')
-rw-r--r-- | drivers/gpu/host1x/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/drm/drm.c b/drivers/gpu/host1x/drm/drm.c index 8c61ceeaa12d..df7d90a3a4fa 100644 --- a/drivers/gpu/host1x/drm/drm.c +++ b/drivers/gpu/host1x/drm/drm.c | |||
@@ -264,7 +264,7 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags) | |||
264 | * core, so we need to set this manually in order to allow the | 264 | * core, so we need to set this manually in order to allow the |
265 | * DRM_IOCTL_WAIT_VBLANK to operate correctly. | 265 | * DRM_IOCTL_WAIT_VBLANK to operate correctly. |
266 | */ | 266 | */ |
267 | drm->irq_enabled = 1; | 267 | drm->irq_enabled = true; |
268 | 268 | ||
269 | err = drm_vblank_init(drm, drm->mode_config.num_crtc); | 269 | err = drm_vblank_init(drm, drm->mode_config.num_crtc); |
270 | if (err < 0) | 270 | if (err < 0) |