diff options
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2024-08-04 15:56:28 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-13 16:26:59 +0200 |
commit | 8641b817392bfb12fb1e71ebb68c31783297bfbd (patch) | |
tree | 8f77b90f015a9a9e4ca41846a03b64712211ac17 /drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | |
parent | drm/amd: Make amd_ip_funcs static for SDMA v5.0 (diff) | |
download | linux-8641b817392bfb12fb1e71ebb68c31783297bfbd.tar.xz linux-8641b817392bfb12fb1e71ebb68c31783297bfbd.zip |
drm/amd: Make amd_ip_funcs static for SDMA v5.2
The struct can be static, as it is only used in this
translation unit.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c index 93890f83e270..d740255edf5a 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c @@ -1776,7 +1776,7 @@ static void sdma_v5_2_dump_ip_state(void *handle) amdgpu_gfx_off_ctrl(adev, true); } -const struct amd_ip_funcs sdma_v5_2_ip_funcs = { +static const struct amd_ip_funcs sdma_v5_2_ip_funcs = { .name = "sdma_v5_2", .early_init = sdma_v5_2_early_init, .late_init = NULL, |