drm/radeon: fix sparse warning
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Oct 2012 16:42:13 +0000 (12:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Oct 2012 14:23:50 +0000 (10:23 -0400)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gart.c

index a7677dd1ce98573121a395643b31a57480e60c76..4f6b09e781595d9c642b5c5f440edafc9534c918 100644 (file)
@@ -577,7 +577,7 @@ void radeon_vm_manager_fini(struct radeon_device *rdev)
  *
  * Global and local mutex must be locked!
  */
-int radeon_vm_evict(struct radeon_device *rdev, struct radeon_vm *vm)
+static int radeon_vm_evict(struct radeon_device *rdev, struct radeon_vm *vm)
 {
        struct radeon_vm *vm_evict;