Skip to content

Commit

Permalink
ARM: OMAP2+: Remove unused max number of timers definition
Browse files Browse the repository at this point in the history
The OMAP2+ timer code has a definition for the maximum number of timers that
OMAP2+ devices have. This defintion is not used anywhere in the code and
appears to be left over. Furthermore the definition is not accurate for OMAP4
devices that only have 11 timers available because the 12th timer is reserved
as a secure timer and for OMAP3 devices the 12th timer is not available on
secure devices. Therefore, remove this definition.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Jon Hunter authored and Tony Lindgren committed Jun 14, 2012
1 parent b8fd733 commit 26fe4e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-omap2/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
#define OMAP3_SECURE_TIMER 1
#endif

/* MAX_GPTIMER_ID: number of GPTIMERs on the chip */
#define MAX_GPTIMER_ID 12

static u32 sys_timer_reserved;

/* Clockevent code */
Expand Down

0 comments on commit 26fe4e4

Please sign in to comment.