Merge branches 'acpi_pad', 'acpica', 'apei-bugzilla-43282', 'battery', 'cpuidle-coupl...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / m68k / platform / coldfire / clk.c
CommitLineData
facdf0ed
GU
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>
96c61242 12#include <linux/module.h>
facdf0ed
GU
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}
96c61242 22EXPORT_SYMBOL(clk_get);
facdf0ed
GU
23
24int clk_enable(struct clk *clk)
25{
26 return 0;
27}
96c61242 28EXPORT_SYMBOL(clk_enable);
facdf0ed
GU
29
30void clk_disable(struct clk *clk)
31{
32}
96c61242 33EXPORT_SYMBOL(clk_disable);
facdf0ed
GU
34
35void clk_put(struct clk *clk)
36{
37}
96c61242 38EXPORT_SYMBOL(clk_put);
facdf0ed
GU
39
40unsigned long clk_get_rate(struct clk *clk)
41{
42 return MCF_CLK;
43}
96c61242 44EXPORT_SYMBOL(clk_get_rate);
19a1d332
GU
45
46struct clk *devm_clk_get(struct device *dev, const char *id)
47{
48 return NULL;
49}
50EXPORT_SYMBOL(devm_clk_get);
51
facdf0ed 52/***************************************************************************/