summaryrefslogtreecommitdiff
path: root/linux/drm_dma.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-03-07 23:25:47 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-03-07 23:25:47 +0000
commit7c9631e5928850e4dc85644fb6a5511f94540ad8 (patch)
tree7b2646e74eb5d08a34412257ecf142506c430824 /linux/drm_dma.h
parent6afda269546d361c1ec43e0be5aad5738548ae98 (diff)
Fix compile for gamma,i810,i830drm-filp-1-freeze
Diffstat (limited to 'linux/drm_dma.h')
-rw-r--r--linux/drm_dma.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index 33243840f..545f19065 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -468,7 +468,7 @@ static int DRM(dma_get_buffers_of_order)(struct file *filp, drm_dma_t *d,
}
-int DRM(dma_get_buffers)(drm_device_t *dev, drm_dma_t *dma)
+int DRM(dma_get_buffers)(struct file *filp, drm_dma_t *dma)
{
int order;
int retcode = 0;
@@ -477,7 +477,7 @@ int DRM(dma_get_buffers)(drm_device_t *dev, drm_dma_t *dma)
order = DRM(order)(dma->request_size);
dma->granted_count = 0;
- retcode = DRM(dma_get_buffers_of_order)(dev, dma, order);
+ retcode = DRM(dma_get_buffers_of_order)(filp, dma, order);
if (dma->granted_count < dma->request_count
&& (dma->flags & _DRM_DMA_SMALLER_OK)) {
@@ -487,7 +487,7 @@ int DRM(dma_get_buffers)(drm_device_t *dev, drm_dma_t *dma)
&& tmp_order >= DRM_MIN_ORDER;
--tmp_order) {
- retcode = DRM(dma_get_buffers_of_order)(dev, dma,
+ retcode = DRM(dma_get_buffers_of_order)(filp, dma,
tmp_order);
}
}
@@ -500,7 +500,7 @@ int DRM(dma_get_buffers)(drm_device_t *dev, drm_dma_t *dma)
&& tmp_order <= DRM_MAX_ORDER;
++tmp_order) {
- retcode = DRM(dma_get_buffers_of_order)(dev, dma,
+ retcode = DRM(dma_get_buffers_of_order)(filp, dma,
tmp_order);
}
}