diff options
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 565e5755c9bc..c5bc2cb4d8d3 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <asm/arch_timer.h> | 45 | #include <asm/arch_timer.h> |
46 | #include "omap_hwmod.h" | 46 | #include "omap_hwmod.h" |
47 | #include "omap_device.h" | 47 | #include "omap_device.h" |
48 | #include <plat/counter-32k.h> | ||
48 | #include <plat/dmtimer.h> | 49 | #include <plat/dmtimer.h> |
49 | #include "omap-pm.h" | 50 | #include "omap-pm.h" |
50 | 51 | ||
@@ -559,6 +560,8 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused) | |||
559 | if (timer_dev_attr) | 560 | if (timer_dev_attr) |
560 | pdata->timer_capability = timer_dev_attr->timer_capability; | 561 | pdata->timer_capability = timer_dev_attr->timer_capability; |
561 | 562 | ||
563 | pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count; | ||
564 | |||
562 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), | 565 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), |
563 | NULL, 0, 0); | 566 | NULL, 0, 0); |
564 | 567 | ||