diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_ih.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si_ih.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_ih.c b/drivers/gpu/drm/amd/amdgpu/si_ih.c index 8fae3d4a2360..db0f36846661 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/si_ih.c | |||
@@ -268,7 +268,7 @@ static int si_ih_set_powergating_state(void *handle, | |||
268 | return 0; | 268 | return 0; |
269 | } | 269 | } |
270 | 270 | ||
271 | const struct amd_ip_funcs si_ih_ip_funcs = { | 271 | static const struct amd_ip_funcs si_ih_ip_funcs = { |
272 | .name = "si_ih", | 272 | .name = "si_ih", |
273 | .early_init = si_ih_early_init, | 273 | .early_init = si_ih_early_init, |
274 | .late_init = NULL, | 274 | .late_init = NULL, |
@@ -297,3 +297,11 @@ static void si_ih_set_interrupt_funcs(struct amdgpu_device *adev) | |||
297 | adev->irq.ih_funcs = &si_ih_funcs; | 297 | adev->irq.ih_funcs = &si_ih_funcs; |
298 | } | 298 | } |
299 | 299 | ||
300 | const struct amdgpu_ip_block_version si_ih_ip_block = | ||
301 | { | ||
302 | .type = AMD_IP_BLOCK_TYPE_IH, | ||
303 | .major = 1, | ||
304 | .minor = 0, | ||
305 | .rev = 0, | ||
306 | .funcs = &si_ih_ip_funcs, | ||
307 | }; | ||