From: Rashika Kheria Date: Mon, 6 Jan 2014 16:42:58 +0000 (+0530) Subject: drivers: gpu: Mark function as static in ttm_bo.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e87fa481f428c3f5436b20c22b8c833c289205c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drivers: gpu: Mark function as static in ttm_bo.c Mark function as static because it is not used outside file drm/ttm/ttm_bo.c. This eliminates the following warning in drm/ttm/ttm_bo.c: drivers/gpu/drm/ttm/ttm_bo.c:960:5: warning: no previous prototype for ‘ttm_bo_move_buffer’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Reviewed-by: Thomas Hellstrom --- diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 07e02c4bf5a8..a06651309388 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -957,7 +957,7 @@ int ttm_bo_mem_space(struct ttm_buffer_object *bo, } EXPORT_SYMBOL(ttm_bo_mem_space); -int ttm_bo_move_buffer(struct ttm_buffer_object *bo, +static int ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu)