summaryrefslogtreecommitdiff
path: root/drivers/clocksource/sh_mtu2.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-03 18:05:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 18:05:42 +0900
commitd1fcc0a8db5e47c1abaa783a3e83dbf5f2184969 (patch)
tree10f6ff571bb290eddfbf155180211df42c6849fc /drivers/clocksource/sh_mtu2.c
parent46a12f7426d71cabc08972cf8d3ffdd441d26a3a (diff)
downloadlinux-3.10-d1fcc0a8db5e47c1abaa783a3e83dbf5f2184969.tar.gz
linux-3.10-d1fcc0a8db5e47c1abaa783a3e83dbf5f2184969.tar.bz2
linux-3.10-d1fcc0a8db5e47c1abaa783a3e83dbf5f2184969.zip
clocksource: sh_mtu2/cmt_register() should be static.
Neither of these need to be exported, so just make them static. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/clocksource/sh_mtu2.c')
-rw-r--r--drivers/clocksource/sh_mtu2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c
index ef02185a827..d1ae75454d1 100644
--- a/drivers/clocksource/sh_mtu2.c
+++ b/drivers/clocksource/sh_mtu2.c
@@ -232,8 +232,8 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_priv *p,
clockevents_register_device(ced);
}
-int sh_mtu2_register(struct sh_mtu2_priv *p, char *name,
- unsigned long clockevent_rating)
+static int sh_mtu2_register(struct sh_mtu2_priv *p, char *name,
+ unsigned long clockevent_rating)
{
if (clockevent_rating)
sh_mtu2_register_clockevent(p, name, clockevent_rating);