diff options
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index e49fc7be2229..037b0d7d4e05 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -408,14 +408,6 @@ static int omap2_dm_timer_set_src(struct platform_device *pdev, int source) | |||
408 | return ret; | 408 | return ret; |
409 | } | 409 | } |
410 | 410 | ||
411 | struct omap_device_pm_latency omap2_dmtimer_latency[] = { | ||
412 | { | ||
413 | .deactivate_func = omap_device_idle_hwmods, | ||
414 | .activate_func = omap_device_enable_hwmods, | ||
415 | .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST, | ||
416 | }, | ||
417 | }; | ||
418 | |||
419 | /** | 411 | /** |
420 | * omap_timer_init - build and register timer device with an | 412 | * omap_timer_init - build and register timer device with an |
421 | * associated timer hwmod | 413 | * associated timer hwmod |
@@ -477,9 +469,7 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused) | |||
477 | pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count; | 469 | pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count; |
478 | #endif | 470 | #endif |
479 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), | 471 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), |
480 | omap2_dmtimer_latency, | 472 | NULL, 0, 0); |
481 | ARRAY_SIZE(omap2_dmtimer_latency), | ||
482 | 0); | ||
483 | 473 | ||
484 | if (IS_ERR(pdev)) { | 474 | if (IS_ERR(pdev)) { |
485 | pr_err("%s: Can't build omap_device for %s: %s.\n", | 475 | pr_err("%s: Can't build omap_device for %s: %s.\n", |