]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: mark gfx_v9_4_3_disable_gpa_mode() static
authorGuchun Chen <guchun.chen@amd.com>
Thu, 27 Apr 2023 01:21:05 +0000 (09:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:24:11 +0000 (09:24 -0400)
commit3c4f6507abde5c36e892d63b25296fc6d9b13285
treef696f3a8814cd0c3f39afa25c9b0e9940a497ece
parent34305ac364dbee1b8e4e5307599c8b9afff0b01c
drm/amdgpu: mark gfx_v9_4_3_disable_gpa_mode() static

This was left global by accident, the corresponding functions for other hardware types are already static:

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:1072:6: error: no previous prototype for function 'gfx_v9_4_3_disable_gpa_mode' [-Werror,-Wmissing-prototypes]

Fixes: 86301129698b ("drm/amdgpu: split gc v9_4_3 functionality from gc v9_0")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c