aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-11-09 17:54:17 -0500
committerTony Lindgren <tony@atomide.com>2012-11-09 17:54:17 -0500
commitf56f52e02a9c3da4bc2cc6eb9ddcf5602ea44b37 (patch)
treea9ce4f46ea3b2e516698b2c3817e40414a8bbf51 /arch/arm/mach-omap2/timer.c
parent84fbd2b8c8da49b4e53fcb484a1564a9b5da61b3 (diff)
parent6ba54ab4a49bbad736b0254aa6bdf0cb83013815 (diff)
Merge branch 'omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3' into omap-for-v3.8/dt
Conflicts: arch/arm/plat-omap/dmtimer.c Resolved as suggested by Jon Hunter.
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c9
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