From: Sachin Kamat Date: Thu, 10 May 2012 06:38:40 +0000 (-0300) Subject: [media] s5p-jpeg: Make s5p_jpeg_g_selection function static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f3bd320fc5a08f7892424978ad8e542357759a2;p=linux-beck.git [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 Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/s5p-jpeg/jpeg-core.c b/drivers/media/video/s5p-jpeg/jpeg-core.c index ecf7b0b04c78..2d7dd8ac73f3 100644 --- a/drivers/media/video/s5p-jpeg/jpeg-core.c +++ b/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);