[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 <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
john stultz 2006-06-26 00:25:14 -07:00 • committed by Linus Torvalds
commit a275254975
9 changed files with 32 additions and 32 deletions

View file

@ -171,7 +171,7 @@ static int __init init_acpi_pm_clocksource(void)
return -ENODEV;
pm_good:
return register_clocksource(&clocksource_acpi_pm);
return clocksource_register(&clocksource_acpi_pm);
}
module_init(init_acpi_pm_clocksource);

View file

@ -113,7 +113,7 @@ static int __init init_cyclone_clocksource(void)
clocksource_cyclone.mult = clocksource_hz2mult(CYCLONE_TIMER_FREQ,
clocksource_cyclone.shift);
return register_clocksource(&clocksource_cyclone);
return clocksource_register(&clocksource_cyclone);
}
module_init(init_cyclone_clocksource);