1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:32:25 +02:00

goldfish: fix clocksource api mismatch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16465 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-06-15 00:08:20 +00:00
parent 6e49fbcfc0
commit 6ea3973b80

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;