sh: clkfwk: module_clk -> peripheral_clk rename.
For consistenct naming, and to allow us to fix up some confusion in the
SH-Mobile clock framework, amongst other places.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c
index 61ff227..0eedf93 100644
--- a/arch/sh/kernel/cpu/clock.c
+++ b/arch/sh/kernel/cpu/clock.c
@@ -50,8 +50,8 @@
.rate = CONFIG_SH_PCLK_FREQ,
};
-static struct clk module_clk = {
- .name = "module_clk",
+static struct clk peripheral_clk = {
+ .name = "peripheral_clk",
.parent = &master_clk,
.flags = CLK_ENABLE_ON_INIT,
};
@@ -73,7 +73,7 @@
*/
static struct clk *onchip_clocks[] = {
&master_clk,
- &module_clk,
+ &peripheral_clk,
&bus_clk,
&cpu_clk,
};