diff options
author | 2012-09-24 11:42:13 -0700 | |
---|---|---|
committer | 2012-09-24 11:42:13 -0700 | |
commit | 3fe05bd9980df7207a35b4841a94dc2875e86960 (patch) | |
tree | b5bb9287088955d2b4b4552b4a4ca9c4c40769a4 /arch/arm/mach-omap2/timer.c | |
parent | Merge tag 'omap-cleanup-sparseirq-for-v3.7' into devel-dt (diff) | |
parent | Linux 3.6-rc6 (diff) | |
download | linux-dev-3fe05bd9980df7207a35b4841a94dc2875e86960.tar.xz linux-dev-3fe05bd9980df7207a35b4841a94dc2875e86960.zip |
Merge tag 'v3.6-rc6' into devel-dt
Linux 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 e2084facca59..8f4525047200 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -263,6 +263,7 @@ static u32 notrace dmtimer_read_sched_clock(void) return 0; } +#ifdef CONFIG_OMAP_32K_TIMER /* Setup free-running counter for clocksource */ static int __init omap2_sync32k_clocksource_init(void) { @@ -302,6 +303,12 @@ static int __init omap2_sync32k_clocksource_init(void) return ret; } +#else +static inline int omap2_sync32k_clocksource_init(void) +{ + return -ENODEV; +} +#endif static void __init omap2_gptimer_clocksource_init(int gptimer_id, const char *fck_source) |