mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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:
parent
5d0cf410e9
commit
a275254975
9 changed files with 32 additions and 32 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue