diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-01-11 21:23:09 -0500 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2013-04-01 14:49:19 -0400 |
commit | 00ea4d5618e86b926163c7d080763c6560be9fe3 (patch) | |
tree | 9249206fc0286f7f945c51e80d3dd87e8505ff51 /arch/arm/mach-omap2/board-generic.c | |
parent | 7bdc83f74f9636fb40a472e1e02fcaf2cc643115 (diff) |
ARM: OMAP2+: Simplify system timers definitions
There is a lot of redundancy in the definitions for the various system
timers for OMAP2+ devices. For example, the omap3_am33xx_gptimer_timer_init()
function is the same as the omap3_gp_gptimer_timer_init() function and the
function omap4_sync32k_timer_init() can be re-used for OMAP5 devices.
Therefore, consolidate the definitions to simplify the code.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 8a5f814613c6..7324d995094d 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -139,7 +139,7 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)") | |||
139 | .init_irq = omap_intc_of_init, | 139 | .init_irq = omap_intc_of_init, |
140 | .handle_irq = omap3_intc_handle_irq, | 140 | .handle_irq = omap3_intc_handle_irq, |
141 | .init_machine = omap_generic_init, | 141 | .init_machine = omap_generic_init, |
142 | .init_time = omap3_am33xx_gptimer_timer_init, | 142 | .init_time = omap3_gptimer_timer_init, |
143 | .dt_compat = am33xx_boards_compat, | 143 | .dt_compat = am33xx_boards_compat, |
144 | MACHINE_END | 144 | MACHINE_END |
145 | #endif | 145 | #endif |