summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/r128_cce.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/r128_cce.c')
-rw-r--r--sys/dev/drm/r128_cce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/r128_cce.c b/sys/dev/drm/r128_cce.c
index 87c4d81..39b37a8 100644
--- a/sys/dev/drm/r128_cce.c
+++ b/sys/dev/drm/r128_cce.c
@@ -601,7 +601,7 @@ int r128_do_cleanup_cce( drm_device_t *dev )
* may not have been called from userspace and after dev_private
* is freed, it's too late.
*/
- if ( dev->irq ) DRM(irq_uninstall)(dev);
+ if ( dev->irq_enabled ) DRM(irq_uninstall)(dev);
#endif
if ( dev->dev_private ) {
OpenPOWER on IntegriCloud