diff options
Diffstat (limited to 'shared/radeon_cp.c')
-rw-r--r-- | shared/radeon_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c index 87aef010..4cacef5c 100644 --- a/shared/radeon_cp.c +++ b/shared/radeon_cp.c @@ -1287,7 +1287,7 @@ int radeon_do_cleanup_cp( 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 ) { |