drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
authorArnd Bergmann <arnd@arndb.de>
Wed, 21 Jun 2017 21:51:02 +0000 (23:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jun 2017 16:43:47 +0000 (12:43 -0400)
The debugfs interface has calls a function that was evidently
defined under the wrong name in some configurations:

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:64:12: error: 'amdgpu_debugfs_test_ib_ring_init' used but never defined [-Werror]
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3803:12: error: 'amdgpu_debugfs_test_ib_init' defined but not used [-Werror=unused-function]

This fixes the function name.

Fixes: 4f0955fcc052 ("drm/amdgpu: export test ib debugfs interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index b2c960b2ea828908e4592ab18ca459856139f4d7..2fe1e0a20c171700f3d1464990bce91207f88f1f 100644 (file)
@@ -3804,7 +3804,7 @@ int amdgpu_debugfs_init(struct drm_minor *minor)
        return 0;
 }
 #else
-static int amdgpu_debugfs_test_ib_init(struct amdgpu_device *adev)
+static int amdgpu_debugfs_test_ib_ring_init(struct amdgpu_device *adev)
 {
        return 0;
 }