summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:28:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:28:56 +0000
commite0640c3c4b6d238e38155c863e542335ce57a425 (patch)
treeec0d956f861090a91021aee1d360e4a2c6449670 /firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
parent15e40dd3a6ac8e9df88b77c0dbd9a90870ad91e6 (diff)
downloadrockbox-e0640c3c4b6d238e38155c863e542335ce57a425.tar.gz
rockbox-e0640c3c4b6d238e38155c863e542335ce57a425.tar.bz2
rockbox-e0640c3c4b6d238e38155c863e542335ce57a425.zip
Rename TIMER_REGISTER macro to TIMER_START and TIMER_UNREGISTER to TIMER_STOP to reflect what they does exactly.
registering and unregistering are handled by the non target-specific functions of timer.c Remove arguments from the new TIMER_START since they are unused by targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21553 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/timer-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/timer-jz4740.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
index 54ea17a063..8258f7b2be 100644
--- a/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
@@ -79,14 +79,14 @@ bool __timer_set(long cycles, bool start)
return true;
}
-bool __timer_register(void)
+bool __timer_start(void)
{
__tcu_start_counter(1);
return true;
}
-void __timer_unregister(void)
+void __timer_stop(void)
{
unsigned int old_irq = disable_irq_save();
__tcu_stop_counter(1);