1 /***************************************************************************/
4 * clk.c -- general ColdFire CPU kernel clk handling
6 * Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
9 /***************************************************************************/
11 #include <linux/kernel.h>
12 #include <linux/module.h>
13 #include <linux/clk.h>
14 #include <asm/coldfire.h>
16 /***************************************************************************/
18 struct clk
*clk_get(struct device
*dev
, const char *id
)
22 EXPORT_SYMBOL(clk_get
);
24 int clk_enable(struct clk
*clk
)
28 EXPORT_SYMBOL(clk_enable
);
30 void clk_disable(struct clk
*clk
)
33 EXPORT_SYMBOL(clk_disable
);
35 void clk_put(struct clk
*clk
)
38 EXPORT_SYMBOL(clk_put
);
40 unsigned long clk_get_rate(struct clk
*clk
)
44 EXPORT_SYMBOL(clk_get_rate
);
45 /***************************************************************************/