diff options
Diffstat (limited to 'linux/gamma_dma.c')
-rw-r--r-- | linux/gamma_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/gamma_dma.c b/linux/gamma_dma.c index bae19bbe..41592a5d 100644 --- a/linux/gamma_dma.c +++ b/linux/gamma_dma.c @@ -652,7 +652,7 @@ int gamma_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 ) { |