aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYi Li <yi.li@analog.com>2009-09-15 02:08:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:13:38 -0500
commitf7036d649c88ad14b482b2787ffb1063c8a719d7 (patch)
tree683f622c3de3c396fe0275035f318b5e396f6724 /arch
parent3a022ba9ac12aefe6bbbdda4c9086e21b25b8939 (diff)
downloadkernel_samsung_aries-f7036d649c88ad14b482b2787ffb1063c8a719d7.zip
kernel_samsung_aries-f7036d649c88ad14b482b2787ffb1063c8a719d7.tar.gz
kernel_samsung_aries-f7036d649c88ad14b482b2787ffb1063c8a719d7.tar.bz2
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')
-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 359cfb1..a54e569 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();
}