2009-03-04 08:43:06 +08:00
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* clk.c -- general ColdFire CPU kernel clk handling
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#include <linux/kernel.h>
|
2009-11-14 04:18:37 +08:00
|
|
|
#include <linux/module.h>
|
2009-03-04 08:43:06 +08:00
|
|
|
#include <linux/clk.h>
|
|
|
|
#include <asm/coldfire.h>
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
struct clk *clk_get(struct device *dev, const char *id)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
2009-11-14 04:18:37 +08:00
|
|
|
EXPORT_SYMBOL(clk_get);
|
2009-03-04 08:43:06 +08:00
|
|
|
|
|
|
|
int clk_enable(struct clk *clk)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2009-11-14 04:18:37 +08:00
|
|
|
EXPORT_SYMBOL(clk_enable);
|
2009-03-04 08:43:06 +08:00
|
|
|
|
|
|
|
void clk_disable(struct clk *clk)
|
|
|
|
{
|
|
|
|
}
|
2009-11-14 04:18:37 +08:00
|
|
|
EXPORT_SYMBOL(clk_disable);
|
2009-03-04 08:43:06 +08:00
|
|
|
|
|
|
|
void clk_put(struct clk *clk)
|
|
|
|
{
|
|
|
|
}
|
2009-11-14 04:18:37 +08:00
|
|
|
EXPORT_SYMBOL(clk_put);
|
2009-03-04 08:43:06 +08:00
|
|
|
|
|
|
|
unsigned long clk_get_rate(struct clk *clk)
|
|
|
|
{
|
|
|
|
return MCF_CLK;
|
|
|
|
}
|
2009-11-14 04:18:37 +08:00
|
|
|
EXPORT_SYMBOL(clk_get_rate);
|
2009-03-04 08:43:06 +08:00
|
|
|
/***************************************************************************/
|