mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
[media] st-hva: hva_dbg_summary() should be static
As reported by gcc: drivers/media/platform/sti/hva/hva-v4l2.c:227:6: warning: no previous prototype for 'hva_dbg_summary' [-Wmissing-prototypes] void hva_dbg_summary(struct hva_ctx *ctx) ^~~~~~~~~~~~~~~ This function is used only internally, so make it static. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
c610b5a8e2
commit
e7b3a2b221
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ static int hva_open_encoder(struct hva_ctx *ctx, u32 streamformat,
|
|||
return ret;
|
||||
}
|
||||
|
||||
void hva_dbg_summary(struct hva_ctx *ctx)
|
||||
static void hva_dbg_summary(struct hva_ctx *ctx)
|
||||
{
|
||||
struct device *dev = ctx_to_dev(ctx);
|
||||
struct hva_streaminfo *stream = &ctx->streaminfo;
|
||||
|
|
Loading…
Reference in a new issue