diff options
Diffstat (limited to 'shared/mga_dma.c')
-rw-r--r-- | shared/mga_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/mga_dma.c b/shared/mga_dma.c index f2d92f15..19bc9e32 100644 --- a/shared/mga_dma.c +++ b/shared/mga_dma.c @@ -644,7 +644,7 @@ int mga_do_cleanup_dma( 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 ) { |