Patchwork [3/3] drivers/rtc/rtc-hym8563.c: Staticize local symbol

login
register
mail settings
Submitter Sachin Kamat
Date Dec. 21, 2013, 8:09 a.m.
Message ID <1387613341-21855-3-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/304400/
State New
Headers show

Comments

Sachin Kamat - Dec. 21, 2013, 8:09 a.m.
'hym8563_clkout_ops' is used only in this file.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/rtc/rtc-hym8563.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c
index 6118000b787a..bd628a6f981d 100644
--- a/drivers/rtc/rtc-hym8563.c
+++ b/drivers/rtc/rtc-hym8563.c
@@ -389,7 +389,7 @@  static int hym8563_clkout_is_prepared(struct clk_hw *hw)
 	return !(ret & HYM8563_CLKOUT_DISABLE);
 }
 
-const struct clk_ops hym8563_clkout_ops = {
+static const struct clk_ops hym8563_clkout_ops = {
 	.prepare = hym8563_clkout_prepare,
 	.unprepare = hym8563_clkout_unprepare,
 	.is_prepared = hym8563_clkout_is_prepared,