clk.c 931 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
/***************************************************************************/

/*
 *	clk.c -- general ColdFire CPU kernel clk handling
 *
 *	Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
 */

/***************************************************************************/

#include <linux/kernel.h>
12
#include <linux/module.h>
13 14 15 16 17 18 19 20 21
#include <linux/clk.h>
#include <asm/coldfire.h>

/***************************************************************************/

struct clk *clk_get(struct device *dev, const char *id)
{
	return NULL;
}
22
EXPORT_SYMBOL(clk_get);
23 24 25 26 27

int clk_enable(struct clk *clk)
{
	return 0;
}
28
EXPORT_SYMBOL(clk_enable);
29 30 31 32

void clk_disable(struct clk *clk)
{
}
33
EXPORT_SYMBOL(clk_disable);
34 35 36 37

void clk_put(struct clk *clk)
{
}
38
EXPORT_SYMBOL(clk_put);
39 40 41 42 43

unsigned long clk_get_rate(struct clk *clk)
{
	return MCF_CLK;
}
44
EXPORT_SYMBOL(clk_get_rate);
45
/***************************************************************************/