diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 06:10:09 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 09:28:19 -0500 |
commit | 527087374faa488776a789375a7d6ea74fda6f71 (patch) | |
tree | 27703559da224f6cfe63e3727450da1ea4441ebb /drivers/char | |
parent | 81e294cba2596f5f10848bbe19d98b344c2a2d5c (diff) |
posix-timers: Cleanup namespace
Rename register_posix_clock() to posix_timers_register_clock(). That's
what the function really does. As a side effect this cleans up the
posix_clock namespace for the upcoming dynamic posix_clock
infrastructure.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Richard Cochran <richard.cochran@omicron.at>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <alpine.LFD.2.00.1102021222240.31804@localhost6.localdomain6>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/mmtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index ff41eb3eec92..33dc2298af73 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -840,7 +840,7 @@ static int __init mmtimer_init(void) | |||
840 | } | 840 | } |
841 | 841 | ||
842 | sgi_clock_period = NSEC_PER_SEC / sn_rtc_cycles_per_second; | 842 | sgi_clock_period = NSEC_PER_SEC / sn_rtc_cycles_per_second; |
843 | register_posix_clock(CLOCK_SGI_CYCLE, &sgi_clock); | 843 | posix_timers_register_clock(CLOCK_SGI_CYCLE, &sgi_clock); |
844 | 844 | ||
845 | printk(KERN_INFO "%s: v%s, %ld MHz\n", MMTIMER_DESC, MMTIMER_VERSION, | 845 | printk(KERN_INFO "%s: v%s, %ld MHz\n", MMTIMER_DESC, MMTIMER_VERSION, |
846 | sn_rtc_cycles_per_second/(unsigned long)1E6); | 846 | sn_rtc_cycles_per_second/(unsigned long)1E6); |