summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 03:33:51 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-24 03:33:51 +0000
commitf4801030b750c5eb2171bbd132aca7bdfa090761 (patch)
tree50ed9d9ac0daf8694348285e45adfebb8fc5fcd7
parent7e8429bf79c840ab7880ecaf95046b411239271a (diff)
use dev->dmat. Missed this one in an earlier diff.
-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;
}