]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: fix OMAP1 dmtimer build warning
authorDavid Brownell <david-b@pacbell.net>
Mon, 2 Apr 2007 19:45:50 +0000 (12:45 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Aug 2007 07:42:50 +0000 (00:42 -0700)
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>
arch/arm/plat-omap/dmtimer.c

index 36073dfaa4db57810c96f1674c39f5889c13fc93..3856f5aedfc1b63f08c3f4c7e79b63449d9d455c 100644 (file)
@@ -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