diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-01-11 12:46:59 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-01-31 03:05:24 +0400 |
commit | b9576623c4217a5d753c272158e1e108c25a1a57 (patch) | |
tree | 0c6e4b503990c4b1fe6f48d50623603f0fddbf65 /arch/arm/plat-nomadik/include/plat | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) | |
download | linux-b9576623c4217a5d753c272158e1e108c25a1a57.tar.xz |
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/plat')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/mtu.h | 4 |
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 @@ #ifndef __PLAT_MTU_H #define __PLAT_MTU_H -/* should be set by the platform code */ -extern void __iomem *mtu_base; - +void nmdk_timer_init(void __iomem *base); void nmdk_clkevt_reset(void); void nmdk_clksrc_reset(void); |