Greg Ungerer | facdf0e | 2009-03-04 10:43:06 +1000 | [diff] [blame] | 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/clk.h> |
| 13 | #include <asm/coldfire.h> |
| 14 | |
| 15 | /***************************************************************************/ |
| 16 | |
| 17 | struct clk *clk_get(struct device *dev, const char *id) |
| 18 | { |
| 19 | return NULL; |
| 20 | } |
| 21 | |
| 22 | int clk_enable(struct clk *clk) |
| 23 | { |
| 24 | return 0; |
| 25 | } |
| 26 | |
| 27 | void clk_disable(struct clk *clk) |
| 28 | { |
| 29 | } |
| 30 | |
| 31 | void clk_put(struct clk *clk) |
| 32 | { |
| 33 | } |
| 34 | |
| 35 | unsigned long clk_get_rate(struct clk *clk) |
| 36 | { |
| 37 | return MCF_CLK; |
| 38 | } |
| 39 | |
| 40 | /***************************************************************************/ |