drm/amd/pm/powerplay/hwmgr/hwmgr: Move 'smu7_init_function_pointers()'s prototype to header
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:5696:5: warning: no previous prototype for ‘smu7_init_function_pointers’ [-Wmissing-prototypes] 5696 | int smu7_init_function_pointers(struct pp_hwmgr *hwmgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc: Evan Quan <evan.quan@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ddb0fc9ac4
commit
7731653f83
|
@ -828,6 +828,7 @@ int hwmgr_handle_task(struct pp_hwmgr *hwmgr,
|
|||
|
||||
#define PHM_ENTIRE_REGISTER_MASK 0xFFFFFFFFU
|
||||
|
||||
int smu7_init_function_pointers(struct pp_hwmgr *hwmgr);
|
||||
int smu8_init_function_pointers(struct pp_hwmgr *hwmgr);
|
||||
|
||||
#endif /* _HWMGR_H_ */
|
||||
|
|
|
@ -46,7 +46,6 @@ extern const struct pp_smumgr_func vega12_smu_funcs;
|
|||
extern const struct pp_smumgr_func smu10_smu_funcs;
|
||||
extern const struct pp_smumgr_func vega20_smu_funcs;
|
||||
|
||||
extern int smu7_init_function_pointers(struct pp_hwmgr *hwmgr);
|
||||
extern int vega10_hwmgr_init(struct pp_hwmgr *hwmgr);
|
||||
extern int vega12_hwmgr_init(struct pp_hwmgr *hwmgr);
|
||||
extern int vega20_hwmgr_init(struct pp_hwmgr *hwmgr);
|
||||
|
|
Loading…
Reference in New Issue