Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.1 45 lines 931 B view raw
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 18struct clk *clk_get(struct device *dev, const char *id) 19{ 20 return NULL; 21} 22EXPORT_SYMBOL(clk_get); 23 24int clk_enable(struct clk *clk) 25{ 26 return 0; 27} 28EXPORT_SYMBOL(clk_enable); 29 30void clk_disable(struct clk *clk) 31{ 32} 33EXPORT_SYMBOL(clk_disable); 34 35void clk_put(struct clk *clk) 36{ 37} 38EXPORT_SYMBOL(clk_put); 39 40unsigned long clk_get_rate(struct clk *clk) 41{ 42 return MCF_CLK; 43} 44EXPORT_SYMBOL(clk_get_rate); 45/***************************************************************************/