diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-22 13:50:28 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 10:47:10 -0400 |
commit | 87f4c2d9205c6646b25081581e810a05cc9d2799 (patch) | |
tree | fc98c7ce70295298b7186e254b2b02cd7224be90 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 6dabce860d40703d7c27b71a120317f09293cf9c (diff) | |
download | linux-87f4c2d9205c6646b25081581e810a05cc9d2799.tar.gz linux-87f4c2d9205c6646b25081581e810a05cc9d2799.tar.bz2 linux-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 <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions