1 /***************************************************************************/ 2 3 /* 4 * clk.c -- general ColdFire CPU kernel clk handling 5 * 6 * Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com) 7 */ 8 9 /***************************************************************************/ 10 11 #include <linux/kernel.h> 12 #include <linux/module.h> 13 #include <linux/clk.h> 14 #include <asm/coldfire.h> 15 16 /***************************************************************************/ 17 clk_get(struct device * dev,const char * id)18struct clk *clk_get(struct device *dev, const char *id) 19 { 20 return NULL; 21 } 22 EXPORT_SYMBOL(clk_get); 23 clk_enable(struct clk * clk)24int clk_enable(struct clk *clk) 25 { 26 return 0; 27 } 28 EXPORT_SYMBOL(clk_enable); 29 clk_disable(struct clk * clk)30void clk_disable(struct clk *clk) 31 { 32 } 33 EXPORT_SYMBOL(clk_disable); 34 clk_put(struct clk * clk)35void clk_put(struct clk *clk) 36 { 37 } 38 EXPORT_SYMBOL(clk_put); 39 clk_get_rate(struct clk * clk)40unsigned long clk_get_rate(struct clk *clk) 41 { 42 return MCF_CLK; 43 } 44 EXPORT_SYMBOL(clk_get_rate); 45 /***************************************************************************/ 46