summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);