diff options
| author | Baruch Siach <baruch@tkos.co.il> | 2010-01-25 05:58:19 -0500 |
|---|---|---|
| committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-01-26 12:54:06 -0500 |
| commit | fadc095622dd188cae88eb2f3ff28fd6e9d2d2f1 (patch) | |
| tree | 6b40bc4bd303669ab78865eb8d355d4c56140bb5 | |
| parent | 4cd3f96cd4014419a4ea524d840be0fa39e3ddbc (diff) | |
mx25: remove unused mx25_clocks_init() argument
The fref is needless on mx25 since the reference clock is fixed at 24MHz.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| -rw-r--r-- | arch/arm/mach-mx25/clock.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-mx25/mx25pdk.c | 2 | ||||
| -rw-r--r-- | arch/arm/plat-mxc/include/mach/common.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx25/clock.c b/arch/arm/mach-mx25/clock.c index 3be51dd46c67..abd303bc3bf2 100644 --- a/arch/arm/mach-mx25/clock.c +++ b/arch/arm/mach-mx25/clock.c | |||
| @@ -211,7 +211,7 @@ static struct clk_lookup lookups[] = { | |||
| 211 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) | 211 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) |
| 212 | }; | 212 | }; |
| 213 | 213 | ||
| 214 | int __init mx25_clocks_init(unsigned long fref) | 214 | int __init mx25_clocks_init(void) |
| 215 | { | 215 | { |
| 216 | int i; | 216 | int i; |
| 217 | 217 | ||
diff --git a/arch/arm/mach-mx25/mx25pdk.c b/arch/arm/mach-mx25/mx25pdk.c index 921bc99ea231..6f06089246eb 100644 --- a/arch/arm/mach-mx25/mx25pdk.c +++ b/arch/arm/mach-mx25/mx25pdk.c | |||
| @@ -91,7 +91,7 @@ static void __init mx25pdk_init(void) | |||
| 91 | 91 | ||
| 92 | static void __init mx25pdk_timer_init(void) | 92 | static void __init mx25pdk_timer_init(void) |
| 93 | { | 93 | { |
| 94 | mx25_clocks_init(26000000); | 94 | mx25_clocks_init(); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | static struct sys_timer mx25pdk_timer = { | 97 | static struct sys_timer mx25pdk_timer = { |
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index 286cb9b0a25b..4bf1068ffad9 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h | |||
| @@ -32,7 +32,7 @@ extern void mxc91231_init_irq(void); | |||
| 32 | extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int); | 32 | extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int); |
| 33 | extern int mx1_clocks_init(unsigned long fref); | 33 | extern int mx1_clocks_init(unsigned long fref); |
| 34 | extern int mx21_clocks_init(unsigned long lref, unsigned long fref); | 34 | extern int mx21_clocks_init(unsigned long lref, unsigned long fref); |
| 35 | extern int mx25_clocks_init(unsigned long fref); | 35 | extern int mx25_clocks_init(void); |
| 36 | extern int mx27_clocks_init(unsigned long fref); | 36 | extern int mx27_clocks_init(unsigned long fref); |
| 37 | extern int mx31_clocks_init(unsigned long fref); | 37 | extern int mx31_clocks_init(unsigned long fref); |
| 38 | extern int mx35_clocks_init(void); | 38 | extern int mx35_clocks_init(void); |
