summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx35.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2015-04-25 15:44:10 +0800
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 14:44:29 +0800
commit6c529c499fecfe65da6429917bd9cb319040c69e (patch)
tree479b41c66c118bee48546435d1b6d8a093e1cbbf /arch/arm/mach-imx/clk-imx35.c
parent0ed4668a5fafa922f450fca4b3431610a21626c5 (diff)
downloadtalos-obmc-linux-6c529c499fecfe65da6429917bd9cb319040c69e.tar.gz
talos-obmc-linux-6c529c499fecfe65da6429917bd9cb319040c69e.zip
ARM: imx: use dynamic mapping for timer
Pass physical address of timer block to mxc_timer_init() call, which in turn does dynamic mapping within the function. Thus, we can avoid using static mapping in clock drivers. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx35.c')
-rw-r--r--arch/arm/mach-imx/clk-imx35.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c
index a0d2b57fd376..4ef1e8bdac5b 100644
--- a/arch/arm/mach-imx/clk-imx35.c
+++ b/arch/arm/mach-imx/clk-imx35.c
@@ -279,7 +279,7 @@ int __init mx35_clocks_init(void)
#ifdef CONFIG_MXC_USE_EPIT
epit_timer_init(MX35_IO_ADDRESS(MX35_EPIT1_BASE_ADDR), MX35_INT_EPIT1);
#else
- mxc_timer_init(MX35_IO_ADDRESS(MX35_GPT1_BASE_ADDR), MX35_INT_GPT);
+ mxc_timer_init(MX35_GPT1_BASE_ADDR, MX35_INT_GPT);
#endif
return 0;
OpenPOWER on IntegriCloud