Commit fa04b6ba authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amdgpu: set gfx_v9_0_ip_funcs as static

We won't use this member in other files, so set it static.
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 07f65bb2
...@@ -4096,7 +4096,7 @@ static int gfx_v9_0_kiq_irq(struct amdgpu_device *adev, ...@@ -4096,7 +4096,7 @@ static int gfx_v9_0_kiq_irq(struct amdgpu_device *adev,
return 0; return 0;
} }
const struct amd_ip_funcs gfx_v9_0_ip_funcs = { static const struct amd_ip_funcs gfx_v9_0_ip_funcs = {
.name = "gfx_v9_0", .name = "gfx_v9_0",
.early_init = gfx_v9_0_early_init, .early_init = gfx_v9_0_early_init,
.late_init = gfx_v9_0_late_init, .late_init = gfx_v9_0_late_init,
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#ifndef __GFX_V9_0_H__ #ifndef __GFX_V9_0_H__
#define __GFX_V9_0_H__ #define __GFX_V9_0_H__
extern const struct amd_ip_funcs gfx_v9_0_ip_funcs;
extern const struct amdgpu_ip_block_version gfx_v9_0_ip_block; extern const struct amdgpu_ip_block_version gfx_v9_0_ip_block;
void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num); void gfx_v9_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment