diff options
author | Huang Rui | 2017-08-04 10:56:38 +0200 |
---|---|---|
committer | Alex Deucher | 2017-08-15 20:46:13 +0200 |
commit | fa04b6ba14a12decd475f291be471387051af722 (patch) | |
tree | d9ee2938d3cd86e0318197df41923277404d00bc /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | drm/radeon: switch to drm_*{get,put} helpers (diff) | |
download | kernel-qcow2-linux-fa04b6ba14a12decd475f291be471387051af722.tar.gz kernel-qcow2-linux-fa04b6ba14a12decd475f291be471387051af722.tar.xz kernel-qcow2-linux-fa04b6ba14a12decd475f291be471387051af722.zip |
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: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index c8180c193ab3..b39f81dda847 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -4096,7 +4096,7 @@ static int gfx_v9_0_kiq_irq(struct amdgpu_device *adev, 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", .early_init = gfx_v9_0_early_init, .late_init = gfx_v9_0_late_init, |