msm: kgsl: Use device names to distinguish between graphics clocks
Distinguish between similar clocks on different cores using the
device struct passed to clk_get(). This allows for a common
clock naming convention that spans across targets.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm7x27.c b/arch/arm/mach-msm/devices-msm7x27.c
index 63d3d8a..250cbad 100644
--- a/arch/arm/mach-msm/devices-msm7x27.c
+++ b/arch/arm/mach-msm/devices-msm7x27.c
@@ -844,12 +844,12 @@
},
.clk = {
.name = {
- .clk = "grp_clk",
- .pclk = "grp_pclk",
+ .clk = "core_clk",
+ .pclk = "iface_clk",
},
},
.imem_clk_name = {
- .clk = "imem_clk",
+ .clk = "mem_clk",
},
};