diff options
Diffstat (limited to 'drivers/char/drm/i915_mem.c')
-rw-r--r-- | drivers/char/drm/i915_mem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/i915_mem.c b/drivers/char/drm/i915_mem.c index d360896f38a6..6126a60dc9cb 100644 --- a/drivers/char/drm/i915_mem.c +++ b/drivers/char/drm/i915_mem.c | |||
@@ -276,7 +276,7 @@ int i915_mem_alloc(struct drm_device *dev, void *data, | |||
276 | struct mem_block *block, **heap; | 276 | struct mem_block *block, **heap; |
277 | 277 | ||
278 | if (!dev_priv) { | 278 | if (!dev_priv) { |
279 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 279 | DRM_ERROR("called with no initialization\n"); |
280 | return -EINVAL; | 280 | return -EINVAL; |
281 | } | 281 | } |
282 | 282 | ||
@@ -314,7 +314,7 @@ int i915_mem_free(struct drm_device *dev, void *data, | |||
314 | struct mem_block *block, **heap; | 314 | struct mem_block *block, **heap; |
315 | 315 | ||
316 | if (!dev_priv) { | 316 | if (!dev_priv) { |
317 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 317 | DRM_ERROR("called with no initialization\n"); |
318 | return -EINVAL; | 318 | return -EINVAL; |
319 | } | 319 | } |
320 | 320 | ||
@@ -342,7 +342,7 @@ int i915_mem_init_heap(struct drm_device *dev, void *data, | |||
342 | struct mem_block **heap; | 342 | struct mem_block **heap; |
343 | 343 | ||
344 | if (!dev_priv) { | 344 | if (!dev_priv) { |
345 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 345 | DRM_ERROR("called with no initialization\n"); |
346 | return -EINVAL; | 346 | return -EINVAL; |
347 | } | 347 | } |
348 | 348 | ||
@@ -366,7 +366,7 @@ int i915_mem_destroy_heap( struct drm_device *dev, void *data, | |||
366 | struct mem_block **heap; | 366 | struct mem_block **heap; |
367 | 367 | ||
368 | if ( !dev_priv ) { | 368 | if ( !dev_priv ) { |
369 | DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); | 369 | DRM_ERROR( "called with no initialization\n" ); |
370 | return -EINVAL; | 370 | return -EINVAL; |
371 | } | 371 | } |
372 | 372 | ||