diff options
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 69e46631a7cd..c5bc2cb4d8d3 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -43,10 +43,11 @@ | |||
43 | #include <asm/sched_clock.h> | 43 | #include <asm/sched_clock.h> |
44 | 44 | ||
45 | #include <asm/arch_timer.h> | 45 | #include <asm/arch_timer.h> |
46 | #include <plat/omap_hwmod.h> | 46 | #include "omap_hwmod.h" |
47 | #include <plat/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 <plat/omap-pm.h> | 50 | #include "omap-pm.h" |
50 | 51 | ||
51 | #include "soc.h" | 52 | #include "soc.h" |
52 | #include "common.h" | 53 | #include "common.h" |
@@ -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 | ||