diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2011-09-20 13:30:19 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-22 00:50:31 +0200 |
commit | df28472a1b28f5d2a6e5cf66265aa328995fde6b (patch) | |
tree | f9598f2f82717d3a92a06369842fe85fe91b4bee /arch/arm/plat-omap/include/plat/dmtimer.h | |
parent | ARM: OMAP2+: dmtimer: convert to platform devices (diff) | |
download | linux-df28472a1b28f5d2a6e5cf66265aa328995fde6b.tar.xz linux-df28472a1b28f5d2a6e5cf66265aa328995fde6b.zip |
ARM: OMAP: dmtimer: platform driver
Add dmtimer platform driver functions which include:
(1) platform driver initialization
(2) driver probe function
(3) driver remove function
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Thara Gopinath <thara@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Cousson, Benoit <b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/dmtimer.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index 9ed08df9d026..98f186e178c5 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h @@ -229,6 +229,7 @@ int omap_dm_timers_active(void); struct omap_dm_timer { unsigned long phys_base; + int id; int irq; #ifdef CONFIG_ARCH_OMAP2PLUS struct clk *iclk, *fclk; @@ -246,6 +247,7 @@ struct omap_dm_timer { unsigned enabled:1; unsigned posted:1; struct platform_device *pdev; + struct list_head node; }; extern u32 sys_timer_reserved; |