Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1fcc0a8 authored by Paul Mundt's avatar Paul Mundt
Browse files

clocksource: sh_mtu2/cmt_register() should be static.



Neither of these need to be exported, so just make them static.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 46a12f74
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -537,7 +537,7 @@ static void sh_cmt_register_clockevent(struct sh_cmt_priv *p,
	clockevents_register_device(ced);
	clockevents_register_device(ced);
}
}


int sh_cmt_register(struct sh_cmt_priv *p, char *name,
static int sh_cmt_register(struct sh_cmt_priv *p, char *name,
			   unsigned long clockevent_rating,
			   unsigned long clockevent_rating,
			   unsigned long clocksource_rating)
			   unsigned long clocksource_rating)
{
{
+2 −2
Original line number Original line Diff line number Diff line
@@ -232,7 +232,7 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_priv *p,
	clockevents_register_device(ced);
	clockevents_register_device(ced);
}
}


int sh_mtu2_register(struct sh_mtu2_priv *p, char *name,
static int sh_mtu2_register(struct sh_mtu2_priv *p, char *name,
			    unsigned long clockevent_rating)
			    unsigned long clockevent_rating)
{
{
	if (clockevent_rating)
	if (clockevent_rating)