Skip to content

Commit

Permalink
ARM: OMAP: fix OMAP1 dmtimer build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Tony Lindgren committed Aug 22, 2007
1 parent 5c5dcca commit 4e63915
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ int omap_dm_timer_get_irq(struct omap_dm_timer *timer)

#if defined(CONFIG_ARCH_OMAP1)

struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer)
{
BUG();
}

/**
* omap_dm_timer_modify_idlect_mask - Check if any running timers use ARMXOR
* @inputmask: current value of idlect mask
Expand Down

0 comments on commit 4e63915

Please sign in to comment.