summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 14:53:37 +0300
committerDave Airlie <airlied@redhat.com>2013-10-09 15:55:32 +1000
commit4423843cde65232c1d553df220e1d133f4a0fa2b (patch)
tree29c570a6ab044f42f5c21989c6eea4532d8b0847 /drivers/gpu/drm/mga
parent5380e9293b865d88de04de6e5324726d8c5b53c9 (diff)
downloadblackbird-op-linux-4423843cde65232c1d553df220e1d133f4a0fa2b.tar.gz
blackbird-op-linux-4423843cde65232c1d553df220e1d133f4a0fa2b.zip
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/drm/mga')
-rw-r--r--drivers/gpu/drm/mga/mga_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mga/mga_irq.c b/drivers/gpu/drm/mga/mga_irq.c
index 598c281def0a..2b0ceb8dc11b 100644
--- a/drivers/gpu/drm/mga/mga_irq.c
+++ b/drivers/gpu/drm/mga/mga_irq.c
@@ -169,5 +169,5 @@ void mga_driver_irq_uninstall(struct drm_device *dev)
/* Disable *all* interrupts */
MGA_WRITE(MGA_IEN, 0);
- dev->irq_enabled = 0;
+ dev->irq_enabled = false;
}
OpenPOWER on IntegriCloud