diff options
Diffstat (limited to 'drivers/clocksource/sh_cmt.c')
-rw-r--r-- | drivers/clocksource/sh_cmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index aeb8c9b27b5b..cf56a2af5fe1 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c | |||
@@ -537,9 +537,9 @@ static void sh_cmt_register_clockevent(struct sh_cmt_priv *p, | |||
537 | clockevents_register_device(ced); | 537 | clockevents_register_device(ced); |
538 | } | 538 | } |
539 | 539 | ||
540 | int sh_cmt_register(struct sh_cmt_priv *p, char *name, | 540 | static int sh_cmt_register(struct sh_cmt_priv *p, char *name, |
541 | unsigned long clockevent_rating, | 541 | unsigned long clockevent_rating, |
542 | unsigned long clocksource_rating) | 542 | unsigned long clocksource_rating) |
543 | { | 543 | { |
544 | if (p->width == (sizeof(p->max_match_value) * 8)) | 544 | if (p->width == (sizeof(p->max_match_value) * 8)) |
545 | p->max_match_value = ~0; | 545 | p->max_match_value = ~0; |