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/board-trout.c | |
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/board-trout.c')
-rw-r--r-- | arch/arm/mach-msm/board-trout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index 80fe1c5ff5c1..64a46eb4fc49 100644 --- a/arch/arm/mach-msm/board-trout.c +++ b/arch/arm/mach-msm/board-trout.c | |||
@@ -36,6 +36,7 @@ | |||
36 | extern int trout_init_mmc(unsigned int); | 36 | extern int trout_init_mmc(unsigned int); |
37 | 37 | ||
38 | static struct platform_device *devices[] __initdata = { | 38 | static struct platform_device *devices[] __initdata = { |
39 | &msm_clock_7x01a, | ||
39 | &msm_device_gpio_7201, | 40 | &msm_device_gpio_7201, |
40 | &msm_device_uart3, | 41 | &msm_device_uart3, |
41 | &msm_device_smd, | 42 | &msm_device_smd, |
@@ -94,8 +95,6 @@ static void __init trout_map_io(void) | |||
94 | /* route UART3 to the "H2W" extended usb connector */ | 95 | /* route UART3 to the "H2W" extended usb connector */ |
95 | writeb(0x80, TROUT_CPLD_BASE + 0x00); | 96 | writeb(0x80, TROUT_CPLD_BASE + 0x00); |
96 | #endif | 97 | #endif |
97 | |||
98 | msm_clock_init(msm_clocks_7x01a, msm_num_clocks_7x01a); | ||
99 | } | 98 | } |
100 | 99 | ||
101 | static void __init trout_init_late(void) | 100 | static void __init trout_init_late(void) |