diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2013-03-19 06:21:56 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-08 07:59:19 -0400 |
| commit | 9b819060d349e2247c471d8f055c91a597560da0 (patch) | |
| tree | e95bac4ebfd5115cf26e8697124e93de653d2b2e /include/linux/platform_data | |
| parent | 9bed3e05e94fbdfc986fba4be7fa5e83db909874 (diff) | |
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 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/clk-ux500.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/platform_data/clk-ux500.h b/include/linux/platform_data/clk-ux500.h index 3af0da1f3be5..320d9c39ea0a 100644 --- a/include/linux/platform_data/clk-ux500.h +++ b/include/linux/platform_data/clk-ux500.h | |||
| @@ -10,7 +10,8 @@ | |||
| 10 | #ifndef __CLK_UX500_H | 10 | #ifndef __CLK_UX500_H |
| 11 | #define __CLK_UX500_H | 11 | #define __CLK_UX500_H |
| 12 | 12 | ||
| 13 | void u8500_clk_init(void); | 13 | void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, |
| 14 | u32 clkrst5_base, u32 clkrst6_base); | ||
| 14 | void u9540_clk_init(void); | 15 | void u9540_clk_init(void); |
| 15 | void u8540_clk_init(void); | 16 | void u8540_clk_init(void); |
| 16 | 17 | ||
