summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-10-17 18:42:13 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-10-23 16:23:50 +0200
commit1518d7fb5d42aec6ec7349b3be8712af132b46fa (patch)
tree5f765ad275f02d7923e4bd4c43072e40d60a6adf /drivers/gpu
parentdrm/radeon: add some new SI PCI ids (diff)
downloadlinux-1518d7fb5d42aec6ec7349b3be8712af132b46fa.tar.xz
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;