diff options
author | Yi Li <yi.li@analog.com> | 2009-09-14 22:08:50 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:13:38 -0500 |
commit | f7036d649c88ad14b482b2787ffb1063c8a719d7 (patch) | |
tree | 683f622c3de3c396fe0275035f318b5e396f6724 /arch/blackfin | |
parent | 3a022ba9ac12aefe6bbbdda4c9086e21b25b8939 (diff) |
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')
-rw-r--r-- | arch/blackfin/kernel/time-ts.c | 2 |
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) | |||
108 | enable_gptimers(TIMER0bit); | 108 | enable_gptimers(TIMER0bit); |
109 | } | 109 | } |
110 | 110 | ||
111 | static cycle_t bfin_read_gptimer0(void) | 111 | static cycle_t bfin_read_gptimer0(struct clocksource *cs) |
112 | { | 112 | { |
113 | return bfin_read_TIMER0_COUNTER(); | 113 | return bfin_read_TIMER0_COUNTER(); |
114 | } | 114 | } |