diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2013-03-19 11:21:56 +0100 | 
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-08 13:59:19 +0200 | 
| commit | 9b819060d349e2247c471d8f055c91a597560da0 (patch) | |
| tree | e95bac4ebfd5115cf26e8697124e93de653d2b2e /arch/arm/mach-ux500/cpu.c | |
| parent | 9bed3e05e94fbdfc986fba4be7fa5e83db909874 (diff) | |
| download | olio-linux-3.10-9b819060d349e2247c471d8f055c91a597560da0.tar.xz olio-linux-3.10-9b819060d349e2247c471d8f055c91a597560da0.zip  | |
clk: ux500: pass clock base adresses in init call
The ux500 clock driver was including <mach/db8500-regs.h>
which will not work when building for multiplatform support
since <mach/*> is going away.
Pass the base adresses in the init call instead.
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Mike Turquette <mturquette@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu.c')
| -rw-r--r-- | arch/arm/mach-ux500/cpu.c | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 2c5c48baa3e..ee69439d5a8 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -70,11 +70,15 @@ void __init ux500_init_irq(void)  	if (cpu_is_u8500_family()) {  		prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);  		ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1); -		u8500_clk_init(); +		u8500_clk_init(U8500_CLKRST1_BASE, U8500_CLKRST2_BASE, +			       U8500_CLKRST3_BASE, U8500_CLKRST5_BASE, +			       U8500_CLKRST6_BASE);  	} else if (cpu_is_u9540()) {  		prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);  		ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1); -		u8500_clk_init(); +		u8500_clk_init(U8500_CLKRST1_BASE, U8500_CLKRST2_BASE, +			       U8500_CLKRST3_BASE, U8500_CLKRST5_BASE, +			       U8500_CLKRST6_BASE);  	} else if (cpu_is_u8540()) {  		prcmu_early_init(U8500_PRCMU_BASE, SZ_8K + SZ_4K - 1);  		ux500_pm_init(U8500_PRCMU_BASE, SZ_8K + SZ_4K - 1);  |