summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-20 23:27:41 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-20 23:27:41 +0000
commitd63a8fcb7b0f4835a5acdb6c0dcb0783b6d3bba7 (patch)
tree50ec68383f0565f0081b93ba9d0ca510bac6a422 /firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
parent280df99c90df6e2b9cef984dea6cd45f6083cb95 (diff)
downloadrockbox-d63a8fcb7b0f4835a5acdb6c0dcb0783b6d3bba7.tar.gz
rockbox-d63a8fcb7b0f4835a5acdb6c0dcb0783b6d3bba7.tar.bz2
rockbox-d63a8fcb7b0f4835a5acdb6c0dcb0783b6d3bba7.zip
Don't forget to fix these too...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20419 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, 4 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
index dc02aede0e..94ecc3afd4 100644
--- a/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
@@ -71,6 +71,8 @@ bool __timer_set(long cycles, bool start)
system_enable_irq(IRQ_TCU1);
restore_irq(old_irq);
+
+ return true;
}
bool __timer_register(void)
@@ -80,6 +82,8 @@ bool __timer_register(void)
__tcu_start_counter(1);
restore_irq(old_irq);
+
+ return true;
}
void __timer_unregister(void)