]> Pileus Git - ~andy/linux/commitdiff
drivers/rtc/rtc-hym8563.c: staticize local symbol
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 23 Jan 2014 23:55:18 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:00 +0000 (16:37 -0800)
'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>
drivers/rtc/rtc-hym8563.c

index 6118000b787ac76366cd04089aae860d9c0e527f..bd628a6f981d8b550c7e651c845232fcaf5a57ff 100644 (file)
@@ -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,