summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat2012-10-17 12:11:51 +0200
committerMauro Carvalho Chehab2012-10-25 18:38:21 +0200
commit57fcfb6f935889c2086681d1bbc4ba0d47aeb768 (patch)
tree4aa6e66ead3df0039e5ac019e222fe5ae4076510
parent[media] s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c (diff)
downloadkernel-qcow2-linux-57fcfb6f935889c2086681d1bbc4ba0d47aeb768.tar.gz
kernel-qcow2-linux-57fcfb6f935889c2086681d1bbc4ba0d47aeb768.tar.xz
kernel-qcow2-linux-57fcfb6f935889c2086681d1bbc4ba0d47aeb768.zip
[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 <sachin.kamat@linaro.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/platform/s5p-fimc/fimc-mdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-mdevice.c b/drivers/media/platform/s5p-fimc/fimc-mdevice.c
index 80ada5882f62..c6c2166b00d5 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;