Skip to content

Commit

Permalink
[media] s5p-fimc: Make 'fimc_pipeline_s_stream' function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Oct 25, 2012
1 parent bbbfcb4 commit 57fcfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/s5p-fimc/fimc-mdevice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 57fcfb6

Please sign in to comment.