diff options
author | Dave Airlie <airlied@redhat.com> | 2007-10-14 21:19:13 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-10-14 21:19:13 +1000 |
commit | 8d3cb7e472ceb31a28de3acc19176e3a2d2995b1 (patch) | |
tree | 2217d14777b3913a2d50fca1d8960b4f2ddfd559 | |
parent | 3ab7627651f4c48a114d91158d41e4c4f528c4cc (diff) |
i915: fix vbl_swap allocation
-rw-r--r-- | shared-core/i915_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c index 7baa23c0..db18a895 100644 --- a/shared-core/i915_irq.c +++ b/shared-core/i915_irq.c @@ -691,7 +691,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data, return -EBUSY; } - vbl_swap = drm_calloc(1, sizeof(vbl_swap), DRM_MEM_DRIVER); + vbl_swap = drm_calloc(1, sizeof(*vbl_swap), DRM_MEM_DRIVER); if (!vbl_swap) { DRM_ERROR("Failed to allocate memory to queue swap\n"); |