From f4801030b750c5eb2171bbd132aca7bdfa090761 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Mon, 24 Nov 2008 03:33:51 +0000 Subject: use dev->dmat. Missed this one in an earlier diff. --- sys/dev/pci/drm/i915_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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; } -- cgit v1.2.3