Root/
1 | /* |
2 | * SH-Mobile Clock Framework |
3 | * |
4 | * Copyright (C) 2010 Magnus Damm |
5 | * |
6 | * Used together with arch/arm/common/clkdev.c and drivers/sh/clk.c. |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
10 | * the Free Software Foundation; version 2 of the License. |
11 | * |
12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
20 | * |
21 | */ |
22 | #include <linux/kernel.h> |
23 | #include <linux/init.h> |
24 | #include <linux/sh_clk.h> |
25 | |
26 | int __init clk_init(void) |
27 | { |
28 | /* Kick the child clocks.. */ |
29 | recalculate_root_clocks(); |
30 | |
31 | /* Enable the necessary init clocks */ |
32 | clk_enable_init_clocks(); |
33 | |
34 | return 0; |
35 | } |
36 | |
37 | int __clk_get(struct clk *clk) |
38 | { |
39 | return 1; |
40 | } |
41 | EXPORT_SYMBOL(__clk_get); |
42 | |
43 | void __clk_put(struct clk *clk) |
44 | { |
45 | } |
46 | EXPORT_SYMBOL(__clk_put); |
47 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9