diff options
author | David Brownell <david-b@pacbell.net> | 2007-04-02 15:45:50 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2007-08-22 03:42:50 -0400 |
commit | 4e63915cbe4525beb9c0281f8e22945d88acc9bc (patch) | |
tree | dcd0f408dc7a37389c60cdf214dd243ed19d8353 | |
parent | 5c5dccad31670faa716cbc9d8a6f918487f60a09 (diff) |
ARM: OMAP: fix OMAP1 dmtimer build warning
Remove the OMAP1 version of omap_dm_timer_get_fclk(), and its associated
compile-time warning. It would only BUG() if called, while it's only
called on OMAP2.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 36073dfaa4db..3856f5aedfc1 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -271,11 +271,6 @@ int omap_dm_timer_get_irq(struct omap_dm_timer *timer) | |||
271 | 271 | ||
272 | #if defined(CONFIG_ARCH_OMAP1) | 272 | #if defined(CONFIG_ARCH_OMAP1) |
273 | 273 | ||
274 | struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer) | ||
275 | { | ||
276 | BUG(); | ||
277 | } | ||
278 | |||
279 | /** | 274 | /** |
280 | * omap_dm_timer_modify_idlect_mask - Check if any running timers use ARMXOR | 275 | * omap_dm_timer_modify_idlect_mask - Check if any running timers use ARMXOR |
281 | * @inputmask: current value of idlect mask | 276 | * @inputmask: current value of idlect mask |