This adds in the CLK_MINMAX flag, renames the clocks
to mddi_clk, and adds in the device pointer.

Signed-off-by: Daniel Walker <[email protected]>
---
 arch/arm/mach-msm/devices-msm7x00.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-msm/devices-msm7x00.c 
b/arch/arm/mach-msm/devices-msm7x00.c
index a084d14..f297415 100644
--- a/arch/arm/mach-msm/devices-msm7x00.c
+++ b/arch/arm/mach-msm/devices-msm7x00.c
@@ -437,7 +437,7 @@ struct clk msm_clocks_7x01a[] = {
        CLK_PCOM("ebi1_clk",    EBI1_CLK,       NULL, 0),
        CLK_PCOM("ebi2_clk",    EBI2_CLK,       NULL, 0),
        CLK_PCOM("ecodec_clk",  ECODEC_CLK,     NULL, 0),
-       CLK_PCOM("emdh_clk",    EMDH_CLK,       NULL, OFF),
+       CLK_PCOM("mddi_clk",    EMDH_CLK,       &msm_device_mddi1.dev, OFF),
        CLK_PCOM("gp_clk",              GP_CLK,         NULL, 0),
        CLK_PCOM("grp_clk",     GRP_3D_CLK,     NULL, OFF),
        CLK_PCOM("i2c_clk",     I2C_CLK,        &msm_device_i2c.dev, 0),
@@ -448,7 +448,7 @@ struct clk msm_clocks_7x01a[] = {
        CLK_PCOM("mdp_clk",     MDP_CLK,        NULL, OFF),
        CLK_PCOM("pbus_clk",    PBUS_CLK,       NULL, 0),
        CLK_PCOM("pcm_clk",     PCM_CLK,        NULL, 0),
-       CLK_PCOM("pmdh_clk",    PMDH_CLK,       NULL, OFF ),
+       CLK_PCOM("mddi_clk",    PMDH_CLK,       &msm_device_mddi0.dev, OFF | 
CLK_MINMAX),
        CLK_PCOM("sdac_clk",    SDAC_CLK,       NULL, OFF),
        CLK_PCOM("sdc_clk",     SDC1_CLK,       &msm_device_sdc1.dev, OFF),
        CLK_PCOM("sdc_pclk",    SDC1_P_CLK,     &msm_device_sdc1.dev, OFF),
-- 
1.7.0.4

-- 
Sent by an consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to