From: Sachin Kamat Date: Wed, 17 Oct 2012 10:11:51 +0000 (-0300) Subject: [media] s5p-fimc: Make 'fimc_pipeline_s_stream' function static X-Git-Tag: staging/for_v3.8~257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57fcfb6f935889c2086681d1bbc4ba0d47aeb768;p=profile%2Fivi%2Fkernel-x86-ivi.git [media] s5p-fimc: Make 'fimc_pipeline_s_stream' function static Fixes the following sparse warning: drivers/media/platform/s5p-fimc/fimc-mdevice.c:216:5: warning: symbol 'fimc_pipeline_s_stream' was not declared. Should it be static? Signed-off-by: Sachin Kamat Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/s5p-fimc/fimc-mdevice.c b/drivers/media/platform/s5p-fimc/fimc-mdevice.c index 80ada58..c6c2166 100644 --- a/drivers/media/platform/s5p-fimc/fimc-mdevice.c +++ b/drivers/media/platform/s5p-fimc/fimc-mdevice.c @@ -213,7 +213,7 @@ static int fimc_pipeline_close(struct fimc_pipeline *p) * @pipeline: video pipeline structure * @on: passed as the s_stream call argument */ -int fimc_pipeline_s_stream(struct fimc_pipeline *p, bool on) +static int fimc_pipeline_s_stream(struct fimc_pipeline *p, bool on) { int i, ret;