aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-nomadik/include
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-01-11 03:46:59 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-01-30 18:05:24 -0500
commitb9576623c4217a5d753c272158e1e108c25a1a57 (patch)
tree0c6e4b503990c4b1fe6f48d50623603f0fddbf65 /arch/arm/plat-nomadik/include
parentdcd6c92267155e70a94b3927bce681ce74b80d1f (diff)
ARM: plat-nomadik: get rid of global mtu base pointer
Pass the base offset to the Nomadik MTU timer in the init call instead of keeping a global pointer to be assigned. Acked-by: Alessandro Rubini <rubini@unipv.it> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/plat-nomadik/include')
-rw-r--r--arch/arm/plat-nomadik/include/plat/mtu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/mtu.h b/arch/arm/plat-nomadik/include/plat/mtu.h
index 6508e7694a4b..582641f3dc01 100644
--- a/arch/arm/plat-nomadik/include/plat/mtu.h
+++ b/arch/arm/plat-nomadik/include/plat/mtu.h
@@ -1,9 +1,7 @@
1#ifndef __PLAT_MTU_H 1#ifndef __PLAT_MTU_H
2#define __PLAT_MTU_H 2#define __PLAT_MTU_H
3 3
4/* should be set by the platform code */ 4void nmdk_timer_init(void __iomem *base);
5extern void __iomem *mtu_base;
6
7void nmdk_clkevt_reset(void); 5void nmdk_clkevt_reset(void);
8void nmdk_clksrc_reset(void); 6void nmdk_clksrc_reset(void);
9 7