diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 13:43:28 -0700 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-13 16:08:20 -0700 |
commit | 5e96da5d5074eae3b94d4abadfc114febb6e2a51 (patch) | |
tree | 4278052c5aaa63ae7af02fac8635c257139f3d6b /arch/arm/mach-msm/include/mach/board.h | |
parent | ec4d79255c684a74ade2f2394b9f9a669cee0036 (diff) | |
download | linux-5e96da5d5074eae3b94d4abadfc114febb6e2a51.tar.gz |
msm: generalize clock support.
The 'PCOM' method of clock control (commands issued to the radio
CPU) is shared across several (but not all) Qualcomm SOCs.
Generalize this clock mechanism so these other SOCs can be added.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach/board.h')
-rw-r--r-- | arch/arm/mach-msm/include/mach/board.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/include/mach/board.h b/arch/arm/mach-msm/include/mach/board.h index 7933641c4761..e302fbdc439b 100644 --- a/arch/arm/mach-msm/include/mach/board.h +++ b/arch/arm/mach-msm/include/mach/board.h @@ -30,14 +30,15 @@ struct msm_acpu_clock_platform_data unsigned long wait_for_irq_khz; }; - +struct clk; + /* common init routines for use by arch/arm/mach-msm/board-*.c */ void __init msm_add_devices(void); void __init msm_map_common_io(void); void __init msm_init_irq(void); void __init msm_init_gpio(void); -void __init msm_clock_init(void); +void __init msm_clock_init(struct clk *clock_tbl, unsigned num_clocks); void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *); #endif |