summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mach-i386/pit_timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mach-i386/pit_timer.c b/arch/x86/mach-i386/pit_timer.c
index fbc7a10746..857ba3136c 100644
--- a/arch/x86/mach-i386/pit_timer.c
+++ b/arch/x86/mach-i386/pit_timer.c
@@ -59,9 +59,8 @@ static struct clocksource cs = {
static int clocksource_init (void)
{
cs.mult = clocksource_hz2mult(1193182, cs.shift);
- init_clock(&cs);
- return 0;
+ return init_clock(&cs);
}
core_initcall(clocksource_init);