summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 04:26:09 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 04:26:09 +0000
commit27c9abaed85d9199b957fb45182590ae4ca4b464 (patch)
treef3db566ef68ea3ce6f8bd6569844bc5808648a8e
parent8b63df143ff968fc031574de5d5f6bc1e427bf60 (diff)
use irq_enabled instead of irq.
-rw-r--r--sys/dev/pci/drm/mach64_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/mach64_dma.c b/sys/dev/pci/drm/mach64_dma.c
index 9d752b757c7..c8fe9974beb 100644
--- a/sys/dev/pci/drm/mach64_dma.c
+++ b/sys/dev/pci/drm/mach64_dma.c
@@ -1348,7 +1348,7 @@ int mach64_do_cleanup_dma(struct drm_device * dev)
* may not have been called from userspace and after dev_private
* is freed, it's too late.
*/
- if (dev->irq)
+ if (dev->irq_enabled)
drm_irq_uninstall(dev);
if (!dev_priv->is_pci) {