diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-10-17 06:11:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-25 12:38:14 -0400 |
commit | bbbfcb4e32532c9c5f0718a95b6c2a74b8ad50de (patch) | |
tree | 56f943edd0ad495e789ac85ce7687fb92ef4cf35 | |
parent | 5631a7d74d0b7a113b64e2cac99bea1e7603442f (diff) |
[media] s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c
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>
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index 367db7552289..2895333866fc 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | |||
@@ -28,7 +28,7 @@ static struct s5p_mfc_pm *pm; | |||
28 | static struct s5p_mfc_dev *p_dev; | 28 | static struct s5p_mfc_dev *p_dev; |
29 | 29 | ||
30 | #ifdef CLK_DEBUG | 30 | #ifdef CLK_DEBUG |
31 | atomic_t clk_ref; | 31 | static atomic_t clk_ref; |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) | 34 | int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) |