diff options
author | Jon Hunter <jon-hunter@ti.com> | 2012-06-05 21:34:50 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-06-14 13:39:05 +0400 |
commit | 26fe4e454bfee3248bc7f7bab38b4888db33528e (patch) | |
tree | b0e381c0c93ec68cedfc4e6a3a82095895cd2194 /arch/arm/mach-omap2/timer.c | |
parent | b8fd7331208e52a0a932209584bde80fd4ec09b9 (diff) | |
download | linux-26fe4e454bfee3248bc7f7bab38b4888db33528e.tar.xz |
ARM: OMAP2+: Remove unused max number of timers definition
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>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 840929bd9dae..c030dfeee76a 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -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 */ |