Commit 0f9774dd authored by Zou Wei's avatar Zou Wei Committed by Mauro Carvalho Chehab
Browse files

media: venus: Mark bufreq_enc with static keyword



Fix the following sparse warning:

hfi_plat_bufs_v6.c:1242:5: warning: symbol 'bufreq_enc' was not declared.
 Should it be static?

Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c5b14df7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1239,7 +1239,7 @@ static int bufreq_dec(struct hfi_plat_buffers_params *params, u32 buftype,
	return 0;
}

int bufreq_enc(struct hfi_plat_buffers_params *params, u32 buftype,
static int bufreq_enc(struct hfi_plat_buffers_params *params, u32 buftype,
		      struct hfi_buffer_requirements *bufreq)
{
	enum hfi_version version = params->version;