diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-30 12:30:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-30 12:31:44 -0500 |
commit | 846b368eb91da88ae35bf541d5604edcd5733bc3 (patch) | |
tree | 11bb35c5749535d410f3a73b151a4d246006d838 /arch/arm/mach-lh7a40x/clocks.c | |
parent | 4ab08ecfbc68960ecfb268bac30c57f838fa414e (diff) |
[ARM] lh7a40x: clocks - cleanup
Remove commented out code, and unnecessary declarations.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lh7a40x/clocks.c')
-rw-r--r-- | arch/arm/mach-lh7a40x/clocks.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/mach-lh7a40x/clocks.c b/arch/arm/mach-lh7a40x/clocks.c index 4fb23ac6b5ac..fcdac94a9510 100644 --- a/arch/arm/mach-lh7a40x/clocks.c +++ b/arch/arm/mach-lh7a40x/clocks.c | |||
@@ -14,21 +14,14 @@ | |||
14 | #include <linux/err.h> | 14 | #include <linux/err.h> |
15 | 15 | ||
16 | struct module; | 16 | struct module; |
17 | struct icst525_params; | ||
18 | 17 | ||
19 | struct clk { | 18 | struct clk { |
20 | struct list_head node; | 19 | struct list_head node; |
21 | unsigned long rate; | 20 | unsigned long rate; |
22 | struct module *owner; | 21 | struct module *owner; |
23 | const char *name; | 22 | const char *name; |
24 | // void *data; | ||
25 | // const struct icst525_params *params; | ||
26 | // void (*setvco)(struct clk *, struct icst525_vco vco); | ||
27 | }; | 23 | }; |
28 | 24 | ||
29 | int clk_register(struct clk *clk); | ||
30 | void clk_unregister(struct clk *clk); | ||
31 | |||
32 | /* ----- */ | 25 | /* ----- */ |
33 | 26 | ||
34 | #define MAINDIV1(c) (((c) >> 7) & 0x0f) | 27 | #define MAINDIV1(c) (((c) >> 7) & 0x0f) |
@@ -148,26 +141,6 @@ int clk_set_rate (struct clk *clk, unsigned long rate) | |||
148 | } | 141 | } |
149 | EXPORT_SYMBOL(clk_set_rate); | 142 | EXPORT_SYMBOL(clk_set_rate); |
150 | 143 | ||
151 | #if 0 | ||
152 | /* | ||
153 | * These are fixed clocks. | ||
154 | */ | ||
155 | static struct clk kmi_clk = { | ||
156 | .name = "KMIREFCLK", | ||
157 | .rate = 24000000, | ||
158 | }; | ||
159 | |||
160 | static struct clk uart_clk = { | ||
161 | .name = "UARTCLK", | ||
162 | .rate = 24000000, | ||
163 | }; | ||
164 | |||
165 | static struct clk mmci_clk = { | ||
166 | .name = "MCLK", | ||
167 | .rate = 33000000, | ||
168 | }; | ||
169 | #endif | ||
170 | |||
171 | static struct clk clcd_clk = { | 144 | static struct clk clcd_clk = { |
172 | .name = "CLCDCLK", | 145 | .name = "CLCDCLK", |
173 | .rate = 0, | 146 | .rate = 0, |