Browse Source

[media] s5p-jpeg: Make s5p_jpeg_g_selection function static

Makes the function s5p_jpeg_g_selection static (detected by sparse).

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Sachin Kamat 13 years ago
parent
commit
9f3bd320fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/s5p-jpeg/jpeg-core.c

+ 1 - 1
drivers/media/video/s5p-jpeg/jpeg-core.c

@@ -813,7 +813,7 @@ static int s5p_jpeg_streamoff(struct file *file, void *priv,
 	return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type);
 }
 
-int s5p_jpeg_g_selection(struct file *file, void *priv,
+static int s5p_jpeg_g_selection(struct file *file, void *priv,
 			 struct v4l2_selection *s)
 {
 	struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv);