goldfish: fix clocksource api mismatch

SVN-Revision: 16465
lede-17.01
Felix Fietkau 2009-06-15 00:08:20 +00:00
parent fc4fe83574
commit 828fd68e00
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;