diff options
author | Mauro Carvalho Chehab | 2017-01-31 12:00:45 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-01-31 12:02:33 -0200 |
commit | e7b3a2b22176d01db0c3b31d6389ccf542ba1967 (patch) | |
tree | 0a0f1a18e419eb2950c1e1e5a226dedf0ea580a8 /drivers/media/platform | |
parent | c610b5a8e22a5a312a9f431716cdd630be4e0e6f (diff) |
[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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/sti/hva/hva-v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |