aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-30 17:30:05 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-30 17:31:44 +0000
commit846b368eb91da88ae35bf541d5604edcd5733bc3 (patch)
tree11bb35c5749535d410f3a73b151a4d246006d838 /arch
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')
-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 4fb23ac6b5a..fcdac94a951 100644
--- a/arch/arm/mach-lh7a40x/clocks.c
+++ b/arch/arm/mach-lh7a40x/clocks.c
@@ -14,21 +14,14 @@
#include <linux/err.h>
struct module;
-struct icst525_params;
struct clk {
struct list_head node;
unsigned long rate;
struct module *owner;
const char *name;
-// void *data;
-// const struct icst525_params *params;
-// void (*setvco)(struct clk *, struct icst525_vco vco);
};
-int clk_register(struct clk *clk);
-void clk_unregister(struct clk *clk);
-
/* ----- */
#define MAINDIV1(c) (((c) >> 7) & 0x0f)
@@ -148,26 +141,6 @@ int clk_set_rate (struct clk *clk, unsigned long rate)
}
EXPORT_SYMBOL(clk_set_rate);
-#if 0
-/*
- * These are fixed clocks.
- */
-static struct clk kmi_clk = {
- .name = "KMIREFCLK",
- .rate = 24000000,
-};
-
-static struct clk uart_clk = {
- .name = "UARTCLK",
- .rate = 24000000,
-};
-
-static struct clk mmci_clk = {
- .name = "MCLK",
- .rate = 33000000,
-};
-#endif
-
static struct clk clcd_clk = {
.name = "CLCDCLK",
.rate = 0,