diff options
author | Olof Johansson <olof@lixom.net> | 2012-09-22 02:00:41 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-09-22 02:00:41 -0400 |
commit | 8437de04d1475ee4af43a217ac2ca74eb9f58ad1 (patch) | |
tree | b8481a64ea0bcb0a6b2f8d27f0c26e39726f0a03 /arch/arm/mach-omap2/timer.c | |
parent | 3aec092eed5d8d2b19a62b0aeed3acea9471099a (diff) | |
parent | 13acc291191281e2980e56dbe3a3d80ce677c9a8 (diff) |
Merge branch 'next/devel-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/soc
Misc SoC-related fixes/cleanups for Samsung platforms
* 'next/devel-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: SAMSUNG: Add check for NULL in clock interface
ARM: EXYNOS: Put PCM, Slimbus, Spdif clocks to off state
ARM: EXYNOS: Add bus clock for FIMD
ARM: SAMSUNG: Fix HDMI related warnings
ARM: S3C24XX: Add .get_rate callback for "camif-upll" clock
ARM: EXYNOS: Fix incorrect help text
ARM: EXYNOS: Turn off clocks for NAND, OneNAND and TSI controllers
+ sync to 3.6-rc6
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 25cbe73b0cd7..207b94f2cccc 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -262,6 +262,7 @@ static u32 notrace dmtimer_read_sched_clock(void) | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | #ifdef CONFIG_OMAP_32K_TIMER | ||
265 | /* Setup free-running counter for clocksource */ | 266 | /* Setup free-running counter for clocksource */ |
266 | static int __init omap2_sync32k_clocksource_init(void) | 267 | static int __init omap2_sync32k_clocksource_init(void) |
267 | { | 268 | { |
@@ -301,6 +302,12 @@ static int __init omap2_sync32k_clocksource_init(void) | |||
301 | 302 | ||
302 | return ret; | 303 | return ret; |
303 | } | 304 | } |
305 | #else | ||
306 | static inline int omap2_sync32k_clocksource_init(void) | ||
307 | { | ||
308 | return -ENODEV; | ||
309 | } | ||
310 | #endif | ||
304 | 311 | ||
305 | static void __init omap2_gptimer_clocksource_init(int gptimer_id, | 312 | static void __init omap2_gptimer_clocksource_init(int gptimer_id, |
306 | const char *fck_source) | 313 | const char *fck_source) |