diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-05-10 02:38:40 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 08:04:13 -0400 |
commit | 9f3bd320fc5a08f7892424978ad8e542357759a2 (patch) | |
tree | 833dbdb256914d700c82113a26865ce4bc433b5e /drivers/media/video | |
parent | ec76afe8970b5110fd6ef1797606f089aec2f134 (diff) |
[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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/s5p-jpeg/jpeg-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
813 | return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type); | 813 | return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type); |
814 | } | 814 | } |
815 | 815 | ||
816 | int s5p_jpeg_g_selection(struct file *file, void *priv, | 816 | static int s5p_jpeg_g_selection(struct file *file, void *priv, |
817 | struct v4l2_selection *s) | 817 | struct v4l2_selection *s) |
818 | { | 818 | { |
819 | struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); | 819 | struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); |