diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cz_ih.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cz_ih.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cz_ih.c b/drivers/gpu/drm/amd/amdgpu/cz_ih.c index 3d23a70b6432..fe7cbb24da7b 100644 --- a/drivers/gpu/drm/amd/amdgpu/cz_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/cz_ih.c | |||
@@ -394,7 +394,7 @@ static int cz_ih_set_powergating_state(void *handle, | |||
394 | return 0; | 394 | return 0; |
395 | } | 395 | } |
396 | 396 | ||
397 | const struct amd_ip_funcs cz_ih_ip_funcs = { | 397 | static const struct amd_ip_funcs cz_ih_ip_funcs = { |
398 | .name = "cz_ih", | 398 | .name = "cz_ih", |
399 | .early_init = cz_ih_early_init, | 399 | .early_init = cz_ih_early_init, |
400 | .late_init = NULL, | 400 | .late_init = NULL, |
@@ -423,3 +423,11 @@ static void cz_ih_set_interrupt_funcs(struct amdgpu_device *adev) | |||
423 | adev->irq.ih_funcs = &cz_ih_funcs; | 423 | adev->irq.ih_funcs = &cz_ih_funcs; |
424 | } | 424 | } |
425 | 425 | ||
426 | const struct amdgpu_ip_block_version cz_ih_ip_block = | ||
427 | { | ||
428 | .type = AMD_IP_BLOCK_TYPE_IH, | ||
429 | .major = 3, | ||
430 | .minor = 0, | ||
431 | .rev = 0, | ||
432 | .funcs = &cz_ih_ip_funcs, | ||
433 | }; | ||