diff options
Diffstat (limited to 'linux-core/drm_dma.c')
-rw-r--r-- | linux-core/drm_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c index cf7f404d..e7d9e826 100644 --- a/linux-core/drm_dma.c +++ b/linux-core/drm_dma.c @@ -154,10 +154,8 @@ void drm_free_buffer(drm_device_t * dev, drm_buf_t * buf) * * Frees each buffer associated with \p filp not already on the hardware. */ -void drm_core_reclaim_buffers(struct file *filp) +void drm_core_reclaim_buffers(drm_device_t *dev, struct file *filp) { - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->head->dev; drm_device_dma_t *dma = dev->dma; int i; |