lkml.org 
[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 86/90] ARM: OMAP: fix OMAP1 dmtimer build warning
    Date
    From: David Brownell <david-b@pacbell.net>

    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 | 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 36073df..3856f5a 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)

    #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
    --
    1.4.4.2
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-04 20:21    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site