Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / m68k / platform / coldfire / clk.c
blob9f1260c5e2ad5d031b42b54447f141f247f808f4
1 /***************************************************************************/
3 /*
4 * clk.c -- general ColdFire CPU kernel clk handling
6 * Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
7 */
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)
20 return NULL;
22 EXPORT_SYMBOL(clk_get);
24 int clk_enable(struct clk *clk)
26 return 0;
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)
42 return MCF_CLK;
44 EXPORT_SYMBOL(clk_get_rate);
45 /***************************************************************************/