20 #include <linux/kernel.h>
21 #include <asm/clock.h>
25 static int md_table[] = { 1, 2, 3, 4, 6, 8, 12 };
27 static void master_clk_init(
struct clk *
clk)
32 static struct sh_clk_ops sh7710_master_clk_ops = {
33 .init = master_clk_init,
36 static unsigned long module_clk_recalc(
struct clk *
clk)
42 static struct sh_clk_ops sh7710_module_clk_ops = {
43 .recalc = module_clk_recalc,
46 static unsigned long bus_clk_recalc(
struct clk *
clk)
52 static struct sh_clk_ops sh7710_bus_clk_ops = {
53 .recalc = bus_clk_recalc,
56 static unsigned long cpu_clk_recalc(
struct clk *
clk)
62 static struct sh_clk_ops sh7710_cpu_clk_ops = {
63 .recalc = cpu_clk_recalc,
67 &sh7710_master_clk_ops,
68 &sh7710_module_clk_ops,
76 *ops = sh7710_clk_ops[
idx];