diff options
| author | Arnd Bergmann <[email protected]> | 2023-05-22 11:50:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:47:10 +0000 |
| commit | 87f4c2d9205c6646b25081581e810a05cc9d2799 (patch) | |
| tree | fc98c7ce70295298b7186e254b2b02cd7224be90 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | drm/amdgpu: Fix unsigned comparison with zero in gmc_v9_0_process_interrupt() (diff) | |
| download | kernel-87f4c2d9205c6646b25081581e810a05cc9d2799.tar.gz kernel-87f4c2d9205c6646b25081581e810a05cc9d2799.zip | |
drm/amd/pm: mark irq functions as 'static'
Two newly added functions cause a warning because they lack a prototype:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c:1328:5: error: no previous prototype for 'smu_v13_0_6_set_irq_state' [-Werror=missing-prototypes]
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c:1368:5: error: no previous prototype for 'smu_v13_0_6_register_irq_handler' [-Werror=missing-prototypes]
They are only used locally, so just mark them static.
Fixes: 676915e4108f ("drm/amd/pm: Add ih for SMU v13.0.6 thermal throttling")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
