summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-10-17 12:42:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-10-23 10:23:50 -0400
commit1518d7fb5d42aec6ec7349b3be8712af132b46fa (patch)
tree5f765ad275f02d7923e4bd4c43072e40d60a6adf /drivers/gpu
parentb6aa22db7857ab7ed042d6c56b800bfc727cfdff (diff)
downloadtalos-op-linux-1518d7fb5d42aec6ec7349b3be8712af132b46fa.tar.gz
talos-op-linux-1518d7fb5d42aec6ec7349b3be8712af132b46fa.zip
drm/radeon: fix sparse warning
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_gart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c
index a7677dd1ce98..4f6b09e78159 100644
--- a/drivers/gpu/drm/radeon/radeon_gart.c
+++ b/drivers/gpu/drm/radeon/radeon_gart.c
@@ -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;
OpenPOWER on IntegriCloud