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 /include/drm/drmP.h | |
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 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 7198febd9d8e..713d7c699bcd 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1149,7 +1149,7 @@ struct drm_device { | |||
1149 | 1149 | ||
1150 | /** \name Context support */ | 1150 | /** \name Context support */ |
1151 | /*@{ */ | 1151 | /*@{ */ |
1152 | int irq_enabled; /**< True if irq handler is enabled */ | 1152 | bool irq_enabled; /**< True if irq handler is enabled */ |
1153 | __volatile__ long context_flag; /**< Context swapping flag */ | 1153 | __volatile__ long context_flag; /**< Context swapping flag */ |
1154 | int last_context; /**< Last current context */ | 1154 | int last_context; /**< Last current context */ |
1155 | /*@} */ | 1155 | /*@} */ |