diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat/dmtimer.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index 9418f00b6c38..5da73562e486 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h | |||
@@ -75,7 +75,6 @@ struct clk; | |||
75 | 75 | ||
76 | struct timer_regs { | 76 | struct timer_regs { |
77 | u32 tidr; | 77 | u32 tidr; |
78 | u32 tiocp_cfg; | ||
79 | u32 tistat; | 78 | u32 tistat; |
80 | u32 tisr; | 79 | u32 tisr; |
81 | u32 tier; | 80 | u32 tier; |
@@ -259,7 +258,7 @@ struct omap_dm_timer { | |||
259 | unsigned long phys_base; | 258 | unsigned long phys_base; |
260 | int id; | 259 | int id; |
261 | int irq; | 260 | int irq; |
262 | struct clk *iclk, *fclk; | 261 | struct clk *fclk; |
263 | 262 | ||
264 | void __iomem *io_base; | 263 | void __iomem *io_base; |
265 | void __iomem *sys_stat; /* TISTAT timer status */ | 264 | void __iomem *sys_stat; /* TISTAT timer status */ |
@@ -316,12 +315,12 @@ static inline void __omap_dm_timer_init_regs(struct omap_dm_timer *timer) | |||
316 | OMAP_TIMER_V1_SYS_STAT_OFFSET; | 315 | OMAP_TIMER_V1_SYS_STAT_OFFSET; |
317 | timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; | 316 | timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; |
318 | timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; | 317 | timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; |
319 | timer->irq_dis = 0; | 318 | timer->irq_dis = NULL; |
320 | timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; | 319 | timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; |
321 | timer->func_base = timer->io_base; | 320 | timer->func_base = timer->io_base; |
322 | } else { | 321 | } else { |
323 | timer->revision = 2; | 322 | timer->revision = 2; |
324 | timer->sys_stat = 0; | 323 | timer->sys_stat = NULL; |
325 | timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; | 324 | timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; |
326 | timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET; | 325 | timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET; |
327 | timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR; | 326 | timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR; |