]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/time/timekeeping.c
omap mailbox: fix empty struct device for omap2
[linux-2.6-omap-h63xx.git] / kernel / time / timekeeping.c
index 7e74d809206775ece68bd6cd67445f6562b4134f..e91c29f961c900d7739c0dc2f27b81c480cdb55c 100644 (file)
@@ -53,7 +53,7 @@ void update_xtime_cache(u64 nsec)
        timespec_add_ns(&xtime_cache, nsec);
 }
 
-static struct clocksource *clock; /* pointer to current clocksource */
+struct clocksource *clock;
 
 
 #ifdef CONFIG_GENERIC_TIME
@@ -246,7 +246,7 @@ void __init timekeeping_init(void)
 
        write_seqlock_irqsave(&xtime_lock, flags);
 
-       ntp_clear();
+       ntp_init();
 
        clock = clocksource_get_next();
        clocksource_calculate_interval(clock, NTP_INTERVAL_LENGTH);