[PATCH] time: rename clocksource functions

As suggested by Roman Zippel, change clocksource functions to use
clocksource_xyz rather then xyz_clocksource to avoid polluting the
namespace.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
john stultz
2006-06-26 00:25:14 -07:00
committed by Linus Torvalds
parent 5d0cf410e9
commit a275254975
9 changed files with 32 additions and 32 deletions

View File

@@ -351,7 +351,7 @@ static int tsc_update_callback(void)
/* check to see if we should switch to the safe clocksource: */
if (clocksource_tsc.rating != 50 && check_tsc_unstable()) {
clocksource_tsc.rating = 50;
reselect_clocksource();
clocksource_reselect();
change = 1;
}
@@ -469,7 +469,7 @@ static int __init init_tsc_clocksource(void)
jiffies + msecs_to_jiffies(TSC_FREQ_CHECK_INTERVAL);
add_timer(&verify_tsc_freq_timer);
return register_clocksource(&clocksource_tsc);
return clocksource_register(&clocksource_tsc);
}
return 0;