mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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>
This commit is contained in:
parent
9a12b1c7a0
commit
8641b81739
@ -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,
|
||||
|
@ -24,7 +24,6 @@
|
||||
#ifndef __SDMA_V5_2_H__
|
||||
#define __SDMA_V5_2_H__
|
||||
|
||||
extern const struct amd_ip_funcs sdma_v5_2_ip_funcs;
|
||||
extern const struct amdgpu_ip_block_version sdma_v5_2_ip_block;
|
||||
|
||||
#endif /* __SDMA_V5_2_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user