aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lh7a40x
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-30 12:30:05 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-30 12:31:44 -0500
commit846b368eb91da88ae35bf541d5604edcd5733bc3 (patch)
tree11bb35c5749535d410f3a73b151a4d246006d838 /arch/arm/mach-lh7a40x
parent4ab08ecfbc68960ecfb268bac30c57f838fa414e (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')
-rw-r--r--arch/arm/mach-lh7a40x/clocks.c27
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
16struct module; 16struct module;
17struct icst525_params;
18 17
19struct clk { 18struct 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
29int clk_register(struct clk *clk);
30void 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}
149EXPORT_SYMBOL(clk_set_rate); 142EXPORT_SYMBOL(clk_set_rate);
150 143
151#if 0
152/*
153 * These are fixed clocks.
154 */
155static struct clk kmi_clk = {
156 .name = "KMIREFCLK",
157 .rate = 24000000,
158};
159
160static struct clk uart_clk = {
161 .name = "UARTCLK",
162 .rate = 24000000,
163};
164
165static struct clk mmci_clk = {
166 .name = "MCLK",
167 .rate = 33000000,
168};
169#endif
170
171static struct clk clcd_clk = { 144static struct clk clcd_clk = {
172 .name = "CLCDCLK", 145 .name = "CLCDCLK",
173 .rate = 0, 146 .rate = 0,