diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-06-17 13:43:18 -0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-06-24 16:07:53 -0400 |
commit | 421faca0b538d1ed5f2065cbbc6bbec38f49a54f (patch) | |
tree | cedbfa77fe9d4af303684b80fb8bb84e6c76f22c /arch/arm/mach-msm/include/mach | |
parent | 2dfd9c1f7722bcaa9d2d4af090af2050df85203b (diff) |
ARM: msm: Make proc_comm clock control into a platform driver
To move closer to the generic struct clock framework move the
proc_comm based clock code to a platform driver. The data
describing the struct clks still live in the devices-$ARCH file,
but the clock initialization is done at driver binding time.
Cc: Saravana Kannan <skannan@codeaurora.org>
Reviewed-by: Pankaj Jangra <jangra.pankaj9@gmail.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach')
-rw-r--r-- | arch/arm/mach-msm/include/mach/board.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-msm/include/mach/board.h b/arch/arm/mach-msm/include/mach/board.h index 8cebedb11233..c34e246a3e07 100644 --- a/arch/arm/mach-msm/include/mach/board.h +++ b/arch/arm/mach-msm/include/mach/board.h | |||
@@ -20,16 +20,11 @@ | |||
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
21 | #include <linux/platform_data/mmc-msm_sdcc.h> | 21 | #include <linux/platform_data/mmc-msm_sdcc.h> |
22 | 22 | ||
23 | /* platform device data structures */ | ||
24 | |||
25 | struct clk_lookup; | ||
26 | |||
27 | /* common init routines for use by arch/arm/mach-msm/board-*.c */ | 23 | /* common init routines for use by arch/arm/mach-msm/board-*.c */ |
28 | 24 | ||
29 | void __init msm_add_devices(void); | 25 | void __init msm_add_devices(void); |
30 | void __init msm_init_irq(void); | 26 | void __init msm_init_irq(void); |
31 | void __init msm_init_gpio(void); | 27 | void __init msm_init_gpio(void); |
32 | void __init msm_clock_init(struct clk_lookup *clock_tbl, unsigned num_clocks); | ||
33 | int __init msm_add_sdcc(unsigned int controller, | 28 | int __init msm_add_sdcc(unsigned int controller, |
34 | struct msm_mmc_platform_data *plat, | 29 | struct msm_mmc_platform_data *plat, |
35 | unsigned int stat_irq, unsigned long stat_irq_flags); | 30 | unsigned int stat_irq, unsigned long stat_irq_flags); |