[media] s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 17 Oct 2012 10:11:50 +0000 (07:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 16:38:14 +0000 (14:38 -0200)
Fixes the following sparse warning:
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c:31:10: warning:
symbol 'clk_ref' 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>
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c

index 367db755228932f410c6157e06f67d8ac00b477f..2895333866fcfcbda0e74ab905ac921681f17845 100644 (file)
@@ -28,7 +28,7 @@ static struct s5p_mfc_pm *pm;
 static struct s5p_mfc_dev *p_dev;
 
 #ifdef CLK_DEBUG
-atomic_t clk_ref;
+static atomic_t clk_ref;
 #endif
 
 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev)