summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-25 17:43:41 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-25 17:43:41 +0000
commit5e6e3b874e0aa94592dfaa1ab0d2f4211616a6a5 (patch)
tree58576e7c4e2b06939873bbcdc041d0db68f5618a
parent0d7c529c1fca4687a5c9a31a6a9a3f93812bfb7b (diff)
Unbreak the tree
*sigh*
-rw-r--r--sys/dev/pci/drm/drm_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_irq.c b/sys/dev/pci/drm/drm_irq.c
index 64dd726682e..7e38de2a1de 100644
--- a/sys/dev/pci/drm/drm_irq.c
+++ b/sys/dev/pci/drm/drm_irq.c
@@ -235,7 +235,7 @@ drm_vblank_get(struct drm_device *dev, int crtc)
{
int ret = 0;
- if (dev_priv->irq_enabled == 0)
+ if (dev->irq_enabled == 0)
return (EINVAL);
DRM_SPINLOCK(&dev->vbl_lock);