aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/i915_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/i915_mem.c')
-rw-r--r--drivers/char/drm/i915_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/i915_mem.c b/drivers/char/drm/i915_mem.c
index c0ee1dae82c3..50b4bacef0e0 100644
--- a/drivers/char/drm/i915_mem.c
+++ b/drivers/char/drm/i915_mem.c
@@ -43,7 +43,7 @@
43 * block to allocate, and the ring is drained prior to allocations -- 43 * block to allocate, and the ring is drained prior to allocations --
44 * in other words allocation is expensive. 44 * in other words allocation is expensive.
45 */ 45 */
46static void mark_block(drm_device_t * dev, struct mem_block *p, int in_use) 46static void mark_block(struct drm_device * dev, struct mem_block *p, int in_use)
47{ 47{
48 drm_i915_private_t *dev_priv = dev->dev_private; 48 drm_i915_private_t *dev_priv = dev->dev_private;
49 drm_i915_sarea_t *sarea_priv = dev_priv->sarea_priv; 49 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)
208 208
209/* Free all blocks associated with the releasing file. 209/* Free all blocks associated with the releasing file.
210 */ 210 */
211void i915_mem_release(drm_device_t * dev, DRMFILE filp, struct mem_block *heap) 211void i915_mem_release(struct drm_device * dev, DRMFILE filp, struct mem_block *heap)
212{ 212{
213 struct mem_block *p; 213 struct mem_block *p;
214 214