[media] st-hva: hva_dbg_summary() should be static
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 14:00:45 +0000 (12:00 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 14:02:33 +0000 (12:02 -0200)
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>
drivers/media/platform/sti/hva/hva-v4l2.c

index 052f2fe..1c4fc33 100644 (file)
@@ -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;