Commit c18dd61a authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/amdgpu/amdgpu_psp: Make local function 'parse_ta_bin_descriptor' static

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2576:5: warning: no previous prototype for ‘parse_ta_bin_descriptor’ [-Wmissing-prototypes]

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: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 39902109
...@@ -2574,7 +2574,7 @@ int psp_init_sos_microcode(struct psp_context *psp, ...@@ -2574,7 +2574,7 @@ int psp_init_sos_microcode(struct psp_context *psp,
return err; return err;
} }
int parse_ta_bin_descriptor(struct psp_context *psp, static int parse_ta_bin_descriptor(struct psp_context *psp,
const struct ta_fw_bin_desc *desc, const struct ta_fw_bin_desc *desc,
const struct ta_firmware_header_v2_0 *ta_hdr) const struct ta_firmware_header_v2_0 *ta_hdr)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment