mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Arnd Bergmann 87f4c2d920 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: 676915e410 ("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>
2023-06-09 10:47:10 -04:00
..
inc drm/amdgpu: added a sysfs interface for thermal throttling 2023-02-23 17:36:00 -05:00
legacy-dpm drm/amdgpu: add xcc index argument to rlc safe_mode func (v4) 2023-04-18 16:28:55 -04:00
powerplay drm/amdgpu: add xcc index argument to rlc safe_mode func (v4) 2023-04-18 16:28:55 -04:00
swsmu drm/amd/pm: mark irq functions as 'static' 2023-06-09 10:47:10 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amd/pm: avoid potential UBSAN issue on legacy asics 2023-06-09 09:36:34 -04:00
amdgpu_pm.c drm/amd/pm: Fix output of pp_od_clk_voltage 2023-06-09 10:45:26 -04:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00