Message ID | 1350472311-9748-7-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-mfc/s5p_mfc_pm.c:31:10: warning: > symbol 'clk_ref' was not declared. Should it be static? Applied, thanks.
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index f7c5c5a..19c46fb 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; 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)
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> Cc: Kamil Debski <k.debski@samsung.com> --- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)