summaryrefslogtreecommitdiff
path: root/shared-core/i915_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/i915_mem.c')
-rw-r--r--shared-core/i915_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/i915_mem.c b/shared-core/i915_mem.c
index c66edfab..582687ad 100644
--- a/shared-core/i915_mem.c
+++ b/shared-core/i915_mem.c
@@ -43,7 +43,7 @@
* block to allocate, and the ring is drained prior to allocations --
* in other words allocation is expensive.
*/
-static void mark_block(drm_device_t * dev, struct mem_block *p, int in_use)
+static void mark_block(struct drm_device * dev, struct mem_block *p, int in_use)
{
drm_i915_private_t *dev_priv = dev->dev_private;
drm_i915_sarea_t *sarea_priv = dev_priv->sarea_priv;
@@ -208,7 +208,7 @@ static int init_heap(struct mem_block **heap, int start, int size)
/* Free all blocks associated with the releasing file.
*/
-void i915_mem_release(drm_device_t * dev, DRMFILE filp, struct mem_block *heap)
+void i915_mem_release(struct drm_device * dev, DRMFILE filp, struct mem_block *heap)
{
struct mem_block *p;