diff mbox

[09/13] sh: Use clkdev for sh7724 div4 clocks

Message ID 20100510112428.14587.55064.sendpatchset@t400s (mailing list archive)
State RFC
Headers show

Commit Message

Magnus Damm May 10, 2010, 11:24 a.m. UTC
None
diff mbox

Patch

--- 0009/arch/sh/kernel/cpu/sh4a/clock-sh7724.c
+++ work/arch/sh/kernel/cpu/sh4a/clock-sh7724.c	2010-05-10 19:22:42.000000000 +0900
@@ -244,6 +244,12 @@  static struct clk mstp_clks[HWBLK_NR] = 
 }
 
 static struct clk_lookup lookups[] = {
+	CLKDEV_NO_DEV("cpu_clk", &div4_clks[DIV4_I]),
+	CLKDEV_NO_DEV("shyway_clk", &div4_clks[DIV4_SH]),
+	CLKDEV_NO_DEV("bus_clk", &div4_clks[DIV4_B]),
+	CLKDEV_NO_DEV("peripheral_clk", &div4_clks[DIV4_P]),
+	CLKDEV_NO_DEV("vpu_clk", &div4_clks[DIV4_M1]),
+
 	CLKDEV_NO_DEV("video_clk", &div6_clks[DIV6_V]),
 	CLKDEV_NO_DEV("fsia_clk", &div6_clks[DIV6_FA]),
 	CLKDEV_NO_DEV("fsib_clk", &div6_clks[DIV6_FB]),