aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-11-15 11:18:30 -0500
committerArnd Bergmann <arnd@arndb.de>2012-11-15 11:18:30 -0500
commitcf1fb2dfa7601770037d24a328f259e2cfd97fb0 (patch)
tree1a38c170cc73ca9fa02b69a3194f487b0c1ef55c /arch/arm/mach-omap2/timer.c
parentc9b1c7b34a17742054e2b967f7c126964343e4f2 (diff)
parent6ba54ab4a49bbad736b0254aa6bdf0cb83013815 (diff)
Merge branch 'omap/headers4' into next/drivers
This avoids merge conflicts between the omap header changes and the gpmc updates. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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 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