From: Mauro Carvalho Chehab Date: Tue, 31 Jan 2017 14:00:45 +0000 (-0200) Subject: [media] st-hva: hva_dbg_summary() should be static X-Git-Tag: v4.11-rc1~132^2~93 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=e7b3a2b22176d01db0c3b31d6389ccf542ba1967;p=linux.git [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 --- diff --git a/drivers/media/platform/sti/hva/hva-v4l2.c b/drivers/media/platform/sti/hva/hva-v4l2.c index 052f2feebc86..1c4fc33cbcb5 100644 --- a/drivers/media/platform/sti/hva/hva-v4l2.c +++ b/drivers/media/platform/sti/hva/hva-v4l2.c @@ -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;