summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/timer.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-04 13:27:32 +0900
committerPaul Mundt <pmundt@dysnomia.hsdv.com>2006-10-06 15:26:21 +0900
commita700f3594d63a85af196ac64984f7375d903afad (patch)
treeb5a60ae64be34219a08c96cafc40abc1e754bbfe /include/asm-sh/timer.h
parent458821452642fd5dc2377b73cd1323fd4a9653e7 (diff)
downloadlinux-a700f3594d63a85af196ac64984f7375d903afad.tar.bz2
sh: Kill off timer_ops get_frequency().
We're not using this anywhere these days, kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/timer.h')
-rw-r--r--include/asm-sh/timer.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-sh/timer.h b/include/asm-sh/timer.h
index ebc78db1a9ea..341cb71c2f9b 100644
--- a/include/asm-sh/timer.h
+++ b/include/asm-sh/timer.h
@@ -11,7 +11,6 @@ struct sys_timer_ops {
#ifndef CONFIG_GENERIC_TIME
unsigned long (*get_offset)(void);
#endif
- unsigned long (*get_frequency)(void);
};
struct sys_timer {
@@ -33,11 +32,6 @@ static inline unsigned long get_timer_offset(void)
}
#endif
-static inline unsigned long get_timer_frequency(void)
-{
- return sys_timer->ops->get_frequency();
-}
-
/* arch/sh/kernel/timers/timer.c */
struct sys_timer *get_sys_timer(void);