]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dmr/amdgpu: Fix compile error with CONFIG_DRM_AMDGPU_GART_DEBUGFS
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 14 Aug 2019 19:44:14 +0000 (15:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:59:17 +0000 (10:59 -0500)
Double defintion of 'i'

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c

index ac14d473a14324b51c6f44bae0b6b09b50d4a88f..5e8bdded265faf6ec1dce44bff0ee8e885841d8a 100644 (file)
@@ -312,7 +312,7 @@ int amdgpu_gart_bind(struct amdgpu_device *adev, uint64_t offset,
                     uint64_t flags)
 {
 #ifdef CONFIG_DRM_AMDGPU_GART_DEBUGFS
-       unsigned i,t,p;
+       unsigned t,p;
 #endif
        int r, i;