goldfish: fix clocksource api mismatch
[openwrt.git] / target / linux / goldfish / patches-2.6.30 / 0118--ARM-goldfish-Add-goldfish-platform.patch
index 21e6716d808697ae9e4bad5f0fd4436fccbe897f..c05c782308bdbc58cff1ec9e39fc2abc0e426ee9 100644 (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;