summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-hym8563.c
diff options
context:
space:
mode:
authorSachin Kamat2014-01-24 00:55:18 +0100
committerLinus Torvalds2014-01-24 01:37:00 +0100
commit28ed893c02e7da25792e6742a78b679662a144e3 (patch)
tree3d3231e98fecfe447ac50a1740e114d45219a344 /drivers/rtc/rtc-hym8563.c
parentdrivers/rtc/rtc-hym8563.c: remove redundant of_match_ptr() helper (diff)
downloadkernel-qcow2-linux-28ed893c02e7da25792e6742a78b679662a144e3.tar.gz
kernel-qcow2-linux-28ed893c02e7da25792e6742a78b679662a144e3.tar.xz
kernel-qcow2-linux-28ed893c02e7da25792e6742a78b679662a144e3.zip
drivers/rtc/rtc-hym8563.c: staticize local symbol
'hym8563_clkout_ops' is used only in this file. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-hym8563.c')
-rw-r--r--drivers/rtc/rtc-hym8563.c2
1 files changed, 1 insertions, 1 deletions
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,