diff options
-rw-r--r-- | shared-core/via_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/via_irq.c b/shared-core/via_irq.c index 3628d601..aaba0cb6 100644 --- a/shared-core/via_irq.c +++ b/shared-core/via_irq.c @@ -206,7 +206,7 @@ via_driver_irq_wait(drm_device_t * dev, unsigned int irq, int force_sequence, unsigned int cur_irq_sequence; drm_via_irq_t *cur_irq = dev_priv->via_irqs; int ret = 0; - maskarray_t *masks = dev_priv->irq_masks; + maskarray_t *masks; int real_irq; DRM_DEBUG("%s\n", __FUNCTION__); @@ -230,7 +230,7 @@ via_driver_irq_wait(drm_device_t * dev, unsigned int irq, int force_sequence, return DRM_ERR(EINVAL); } - + masks = dev_priv->irq_masks; cur_irq += real_irq; if (masks[real_irq][2] && !force_sequence) { |