diff options
author | Olof Johansson <olof@lixom.net> | 2012-11-30 02:05:32 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-30 02:16:12 -0500 |
commit | 73f14f6d007df1596da7cea9113084acfe846b8f (patch) | |
tree | 91f65f082a0491df206400b208d5e888fe055479 /arch/arm/mach-omap2/timer.c | |
parent | c8a1ceccf394b2f99feed2b702732140e9f0f92d (diff) |
ARM: omap: fix typo on timer cleanup
Fix 32 vs 32k typo:
arch/arm/mach-omap2/timer.c: In function 'omap4_local_timer_init':
arch/arm/mach-omap2/timer.c:633:2: error: implicit declaration of function 'omap4_sync32_timer_init' [-Werror=implicit-function-declaration]
arch/arm/mach-omap2/timer.c: At top level:
arch/arm/mach-omap2/timer.c:610:2: warning: 'omap4_sync32k_timer_init' defined but not used [-Wunused-function]
Also, mark the omap4_local_timer_init() stub as __init (and take off
the explicit inline and let the compiler do the work instead).
Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index b9cff72ceaec..7016637b531c 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -628,9 +628,9 @@ static void __init omap4_local_timer_init(void) | |||
628 | } | 628 | } |
629 | } | 629 | } |
630 | #else /* CONFIG_LOCAL_TIMERS */ | 630 | #else /* CONFIG_LOCAL_TIMERS */ |
631 | static inline void omap4_local_timer_init(void) | 631 | static void __init omap4_local_timer_init(void) |
632 | { | 632 | { |
633 | omap4_sync32_timer_init(); | 633 | omap4_sync32k_timer_init(); |
634 | } | 634 | } |
635 | #endif /* CONFIG_LOCAL_TIMERS */ | 635 | #endif /* CONFIG_LOCAL_TIMERS */ |
636 | OMAP_SYS_TIMER(4, local); | 636 | OMAP_SYS_TIMER(4, local); |