aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-05-11 03:38:14 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-20 08:04:42 -0400
commit3e9095d54c3712ffda70dc84f9273d4b5d24c0fd (patch)
treeb612b6f6e93dacdc413a43ba6ef3e75f77f28cad /drivers/media/video
parent9f3bd320fc5a08f7892424978ad8e542357759a2 (diff)
[media] s5p-mfc: Add missing static storage class in s5p_mfc_enc.c file
Fixes the following sparse warnings: drivers/media/video/s5p-mfc/s5p_mfc_enc.c:1439:5: warning: symbol 'vidioc_s_parm' was not declared. Should it be static? drivers/media/video/s5p-mfc/s5p_mfc_enc.c:1455:5: warning: symbol 'vidioc_g_parm' 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')
-rw-r--r--drivers/media/video/s5p-mfc/s5p_mfc_enc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_enc.c b/drivers/media/video/s5p-mfc/s5p_mfc_enc.c
index dff9dc798795..acedb2004be3 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc_enc.c
+++ b/drivers/media/video/s5p-mfc/s5p_mfc_enc.c
@@ -1436,7 +1436,8 @@ static const struct v4l2_ctrl_ops s5p_mfc_enc_ctrl_ops = {
1436 .s_ctrl = s5p_mfc_enc_s_ctrl, 1436 .s_ctrl = s5p_mfc_enc_s_ctrl,
1437}; 1437};
1438 1438
1439int vidioc_s_parm(struct file *file, void *priv, struct v4l2_streamparm *a) 1439static int vidioc_s_parm(struct file *file, void *priv,
1440 struct v4l2_streamparm *a)
1440{ 1441{
1441 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); 1442 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv);
1442 1443
@@ -1452,7 +1453,8 @@ int vidioc_s_parm(struct file *file, void *priv, struct v4l2_streamparm *a)
1452 return 0; 1453 return 0;
1453} 1454}
1454 1455
1455int vidioc_g_parm(struct file *file, void *priv, struct v4l2_streamparm *a) 1456static int vidioc_g_parm(struct file *file, void *priv,
1457 struct v4l2_streamparm *a)
1456{ 1458{
1457 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); 1459 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv);
1458 1460