aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-05-10 02:32:01 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-20 08:03:18 -0400
commita13bba4f35eee67552b0fcfb0790d9a0f5f5fd07 (patch)
tree6ef9e881170ba685525b2acf807b7d41a573fb2d /drivers/media/video/s5p-mfc/s5p_mfc_opr.c
parent1259762facdcf31ea362997d9682ccc3d93d7346 (diff)
[media] s5p-mfc: Add missing static storage class to silence warnings
Fixes the following sparse warnings: drivers/media/video/s5p-mfc/s5p_mfc.c:73:6 warning: symbol 's5p_mfc_watchdog' was not declared. Should it be static? drivers/media/video/s5p-mfc/s5p_mfc_opr.c:299:6: warning: symbol 's5p_mfc_set_shared_buffer' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-mfc/s5p_mfc_opr.c')
-rw-r--r--drivers/media/video/s5p-mfc/s5p_mfc_opr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_opr.c b/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
index a8028297fc70..e6217cbfa4a3 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
+++ b/drivers/media/video/s5p-mfc/s5p_mfc_opr.c
@@ -296,7 +296,7 @@ void s5p_mfc_set_dec_desc_buffer(struct s5p_mfc_ctx *ctx)
296} 296}
297 297
298/* Set registers for shared buffer */ 298/* Set registers for shared buffer */
299void s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx) 299static void s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx)
300{ 300{
301 struct s5p_mfc_dev *dev = ctx->dev; 301 struct s5p_mfc_dev *dev = ctx->dev;
302 mfc_write(dev, ctx->shm_ofs, S5P_FIMV_SI_CH0_HOST_WR_ADR); 302 mfc_write(dev, ctx->shm_ofs, S5P_FIMV_SI_CH0_HOST_WR_ADR);