diff options
-rw-r--r-- | drivers/char/drm/i915_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/i915_irq.c b/drivers/char/drm/i915_irq.c index 3f02ff593bbd..b273fe4e1345 100644 --- a/drivers/char/drm/i915_irq.c +++ b/drivers/char/drm/i915_irq.c | |||
@@ -555,7 +555,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data, | |||
555 | 555 | ||
556 | spin_lock_irqsave(&dev_priv->swaps_lock, irqflags); | 556 | spin_lock_irqsave(&dev_priv->swaps_lock, irqflags); |
557 | 557 | ||
558 | list_add_tail((struct list_head *)vbl_swap, &dev_priv->vbl_swaps.head); | 558 | list_add_tail(&vbl_swap->head, &dev_priv->vbl_swaps.head); |
559 | dev_priv->swaps_pending++; | 559 | dev_priv->swaps_pending++; |
560 | 560 | ||
561 | spin_unlock_irqrestore(&dev_priv->swaps_lock, irqflags); | 561 | spin_unlock_irqrestore(&dev_priv->swaps_lock, irqflags); |