diff options
Diffstat (limited to 'drivers/char/drm/i915_mem.c')
-rw-r--r-- | drivers/char/drm/i915_mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/i915_mem.c b/drivers/char/drm/i915_mem.c index 52c67324df58..50b4bacef0e0 100644 --- a/drivers/char/drm/i915_mem.c +++ b/drivers/char/drm/i915_mem.c | |||
@@ -43,11 +43,11 @@ | |||
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 | */ |
46 | static void mark_block(drm_device_t * dev, struct mem_block *p, int in_use) | 46 | static 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; |
50 | drm_tex_region_t *list; | 50 | struct drm_tex_region *list; |
51 | unsigned shift, nr; | 51 | unsigned shift, nr; |
52 | unsigned start; | 52 | unsigned start; |
53 | unsigned end; | 53 | unsigned end; |
@@ -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 | */ |
211 | void i915_mem_release(drm_device_t * dev, DRMFILE filp, struct mem_block *heap) | 211 | void 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 | ||