diff mbox

[8/8,media] s5p-fimc: Make 'fimc_pipeline_s_stream' function static

Message ID 1350472311-9748-8-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Oct. 17, 2012, 11:11 a.m. UTC
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(-)

Comments

Sylwester Nawrocki Oct. 20, 2012, 9:57 a.m. UTC | #1
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 mbox

Patch

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;