diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_ih.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c index b4ea229bb449..52b71ee58793 100644 --- a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c | |||
@@ -455,7 +455,7 @@ static int tonga_ih_set_powergating_state(void *handle, | |||
455 | return 0; | 455 | return 0; |
456 | } | 456 | } |
457 | 457 | ||
458 | const struct amd_ip_funcs tonga_ih_ip_funcs = { | 458 | static const struct amd_ip_funcs tonga_ih_ip_funcs = { |
459 | .name = "tonga_ih", | 459 | .name = "tonga_ih", |
460 | .early_init = tonga_ih_early_init, | 460 | .early_init = tonga_ih_early_init, |
461 | .late_init = NULL, | 461 | .late_init = NULL, |
@@ -487,3 +487,11 @@ static void tonga_ih_set_interrupt_funcs(struct amdgpu_device *adev) | |||
487 | adev->irq.ih_funcs = &tonga_ih_funcs; | 487 | adev->irq.ih_funcs = &tonga_ih_funcs; |
488 | } | 488 | } |
489 | 489 | ||
490 | const struct amdgpu_ip_block_version tonga_ih_ip_block = | ||
491 | { | ||
492 | .type = AMD_IP_BLOCK_TYPE_IH, | ||
493 | .major = 3, | ||
494 | .minor = 0, | ||
495 | .rev = 0, | ||
496 | .funcs = &tonga_ih_ip_funcs, | ||
497 | }; | ||