summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/time-ts.c
diff options
context:
space:
mode:
authorYi Li2009-09-15 04:08:50 +0200
committerMike Frysinger2009-12-15 06:13:38 +0100
commitf7036d649c88ad14b482b2787ffb1063c8a719d7 (patch)
tree683f622c3de3c396fe0275035f318b5e396f6724 /arch/blackfin/kernel/time-ts.c
parentBlackfin: update defconfigs (diff)
downloadkernel-qcow2-linux-f7036d649c88ad14b482b2787ffb1063c8a719d7.tar.gz
kernel-qcow2-linux-f7036d649c88ad14b482b2787ffb1063c8a719d7.tar.xz
kernel-qcow2-linux-f7036d649c88ad14b482b2787ffb1063c8a719d7.zip
Blackfin: fix gptimer0 clock source compile warning
Some of the clocksource prototypes were updated, but the gptimer0 func was missed in the process. Not a big issue as the argument is ignored, but we should fix the compile warning anyways. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/time-ts.c')
-rw-r--r--arch/blackfin/kernel/time-ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c
index 359cfb1815ca..a54e569e3b62 100644
--- a/arch/blackfin/kernel/time-ts.c
+++ b/arch/blackfin/kernel/time-ts.c
@@ -108,7 +108,7 @@ void __init setup_gptimer0(void)
enable_gptimers(TIMER0bit);
}
-static cycle_t bfin_read_gptimer0(void)
+static cycle_t bfin_read_gptimer0(struct clocksource *cs)
{
return bfin_read_TIMER0_COUNTER();
}