Message ID | 1350472311-9748-8-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
On 10/17/2012 01:11 PM, Sachin Kamat wrote: > 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? Thanks Sachin, I've add it to my tree.
diff --git a/drivers/media/platform/s5p-fimc/fimc-mdevice.c b/drivers/media/platform/s5p-fimc/fimc-mdevice.c index e1f7cbe..0cd05b2 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;
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> --- drivers/media/platform/s5p-fimc/fimc-mdevice.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)