goldfish: fix clocksource api mismatch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16465 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-06-15 00:08:20 +00:00
parent e2c4629128
commit 2754988a0b
1 changed files with 1 additions and 1 deletions

View File

@ -2018,7 +2018,7 @@ Signed-off-by: Arve Hjønnevåg <arve@android.com>
+ return IRQ_HANDLED;
+}
+
+static cycle_t goldfish_timer_read(void)
+static cycle_t goldfish_timer_read(struct clocksource *cs)
+{
+ uint32_t timer_base = IO_ADDRESS(GOLDFISH_TIMER_BASE);
+ unsigned long irqflags;