From ad70dc676ebf8f2f86d171dccb873a04a3e5b87b Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Tue, 12 Oct 2004 03:59:17 +0000 Subject: Breakout heads into their own data structures. --- linux-core/drm_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_dma.c') diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c index 66886309..035dd35b 100644 --- a/linux-core/drm_dma.c +++ b/linux-core/drm_dma.c @@ -157,7 +157,7 @@ void drm_free_buffer(drm_device_t * dev, drm_buf_t * buf) void drm_core_reclaim_buffers(struct file *filp) { drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; + drm_device_t *dev = priv->head->dev; drm_device_dma_t *dma = dev->dma; int i; -- cgit v1.2.3