aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/timer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 4daa8b41c522..b7f43a28e41f 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -162,11 +162,6 @@ static struct of_device_id omap_timer_match[] __initdata = {
162 { } 162 { }
163}; 163};
164 164
165static struct of_device_id omap_counter_match[] __initdata = {
166 { .compatible = "ti,omap-counter32k", },
167 { }
168};
169
170/** 165/**
171 * omap_get_timer_dt - get a timer using device-tree 166 * omap_get_timer_dt - get a timer using device-tree
172 * @match - device-tree match structure for matching a device type 167 * @match - device-tree match structure for matching a device type
@@ -406,6 +401,11 @@ static u32 notrace dmtimer_read_sched_clock(void)
406} 401}
407 402
408#ifdef CONFIG_OMAP_32K_TIMER 403#ifdef CONFIG_OMAP_32K_TIMER
404static struct of_device_id omap_counter_match[] __initdata = {
405 { .compatible = "ti,omap-counter32k", },
406 { }
407};
408
409/* Setup free-running counter for clocksource */ 409/* Setup free-running counter for clocksource */
410static int __init omap2_sync32k_clocksource_init(void) 410static int __init omap2_sync32k_clocksource_init(void)
411{ 411{