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 0758bae3a57a..684d2fc3d485 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -45,10 +45,11 @@ | |||
45 | #include <asm/sched_clock.h> | 45 | #include <asm/sched_clock.h> |
46 | 46 | ||
47 | #include <asm/arch_timer.h> | 47 | #include <asm/arch_timer.h> |
48 | #include <plat/omap_hwmod.h> | 48 | #include "omap_hwmod.h" |
49 | #include <plat/omap_device.h> | 49 | #include "omap_device.h" |
50 | #include <plat/counter-32k.h> | ||
50 | #include <plat/dmtimer.h> | 51 | #include <plat/dmtimer.h> |
51 | #include <plat/omap-pm.h> | 52 | #include "omap-pm.h" |
52 | 53 | ||
53 | #include "soc.h" | 54 | #include "soc.h" |
54 | #include "common.h" | 55 | #include "common.h" |
@@ -692,6 +693,8 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused) | |||
692 | if (timer_dev_attr) | 693 | if (timer_dev_attr) |
693 | pdata->timer_capability = timer_dev_attr->timer_capability; | 694 | pdata->timer_capability = timer_dev_attr->timer_capability; |
694 | 695 | ||
696 | pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count; | ||
697 | |||
695 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), | 698 | pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata), |
696 | NULL, 0, 0); | 699 | NULL, 0, 0); |
697 | 700 | ||