aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2012-09-28 18:03:29 -0500
committerJon Hunter <jon-hunter@ti.com>2012-11-16 10:35:06 -0600
commit61b001c564b75bfb47bfb84b33008fc2a35c9a84 (patch)
tree69f0d9622354a8c4cfba16f20afa5ae3cd360783 /arch/arm/plat-omap
parentARM: OMAP: Define omap_dm_timer_prepare function as static (diff)
downloadlinux-dev-61b001c564b75bfb47bfb84b33008fc2a35c9a84.tar.xz
linux-dev-61b001c564b75bfb47bfb84b33008fc2a35c9a84.zip
ARM: OMAP: Don't store timers physical address
The OMAP2+ system timer code stores the physical address of the timer but never uses it. Remove this and clean-up the code by removing the local variable "size" and changing the names of the local variables mem_rsrc and irq_rsrc to mem and irq, respectively. Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/dmtimer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h
index 40383b68a099..b60e2b66ad18 100644
--- a/arch/arm/plat-omap/include/plat/dmtimer.h
+++ b/arch/arm/plat-omap/include/plat/dmtimer.h
@@ -261,7 +261,6 @@ int omap_dm_timers_active(void);
(_OMAP_TIMER_TICK_INT_MASK_COUNT_OFFSET | (WP_TOWR << WPSHIFT))
struct omap_dm_timer {
- unsigned long phys_base;
int id;
int irq;
struct clk *fclk;