summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/i915_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c
index 0d59273649a..ea73704030f 100644
--- a/sys/dev/pci/drm/i915_dma.c
+++ b/sys/dev/pci/drm/i915_dma.c
@@ -144,7 +144,7 @@ static int i915_dma_cleanup(struct drm_device * dev)
/* Clear the HWS virtual address at teardown */
if (I915_NEED_GFX_HWS(dev_priv))
- i915_free_hws(dev_priv, dev->pa.pa_dmat);
+ i915_free_hws(dev_priv, dev->dmat);
return 0;
}