summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform/coldfire/clk.c
blob: 7cdbf445b28f9710dbf689cb6b9dd91b2c848bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/***************************************************************************/

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

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

#include <linux/kernel.h>
#include <linux/clk.h>
#include <asm/coldfire.h>

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

struct clk *clk_get(struct device *dev, const char *id)
{
	return NULL;
}

int clk_enable(struct clk *clk)
{
	return 0;
}

void clk_disable(struct clk *clk)
{
}

void clk_put(struct clk *clk)
{
}

unsigned long clk_get_rate(struct clk *clk)
{
	return MCF_CLK;
}

/***************************************************************************/
OpenPOWER on IntegriCloud