mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
[ARM] lh7a40x: clocks - cleanup
Remove commented out code, and unnecessary declarations. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
4ab08ecfbc
commit
846b368eb9
1 changed files with 0 additions and 27 deletions
|
@ -14,21 +14,14 @@
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
|
|
||||||
struct module;
|
struct module;
|
||||||
struct icst525_params;
|
|
||||||
|
|
||||||
struct clk {
|
struct clk {
|
||||||
struct list_head node;
|
struct list_head node;
|
||||||
unsigned long rate;
|
unsigned long rate;
|
||||||
struct module *owner;
|
struct module *owner;
|
||||||
const char *name;
|
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)
|
#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);
|
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 = {
|
static struct clk clcd_clk = {
|
||||||
.name = "CLCDCLK",
|
.name = "CLCDCLK",
|
||||||
.rate = 0,
|
.rate = 0,
|
||||||
|
|
Loading…
Reference in a new issue