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-msm7x27a.c b/arch/arm/mach-msm/devices-msm7x27a.c
index a95dc97..4085040 100644
--- a/arch/arm/mach-msm/devices-msm7x27a.c
+++ b/arch/arm/mach-msm/devices-msm7x27a.c
@@ -595,12 +595,12 @@
},
.clk = {
.name = {
- .clk = "grp_clk",
- .pclk = "grp_pclk",
+ .clk = "core_clk",
+ .pclk = "iface_clk",
},
},
.imem_clk_name = {
- .clk = "imem_clk",
+ .clk = "mem_clk",
.pclk = NULL,
},