drivers: gpu: Mark function as static in radeon_object.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:25:28 +0000 (20:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 16:45:34 +0000 (11:45 -0500)
Mark function radeon_bo_clear_va() as static in
drm/radeon/radeon_object.c because it is not used outside this file.

This eliminates the following warning in drm/radeon/radeon_object.c:
drivers/gpu/drm/radeon/radeon_object.c:49:6: warning: no previous prototype for ‘radeon_bo_clear_va’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_object.c

index c0fa4aa9ceea8ad8d22c7485b28f4bf045a3a7dd..08595cf90b0139ee0da24f4ac3725e30dcbf9d68 100644 (file)
@@ -46,7 +46,7 @@ static void radeon_bo_clear_surface_reg(struct radeon_bo *bo);
  * function are calling it.
  */
 
-void radeon_bo_clear_va(struct radeon_bo *bo)
+static void radeon_bo_clear_va(struct radeon_bo *bo)
 {
        struct radeon_bo_va *bo_va, *tmp;