提交 fadc0956 编写于 作者: B Baruch Siach 提交者: Sascha Hauer

mx25: remove unused mx25_clocks_init() argument

The fref is needless on mx25 since the reference clock is fixed at 24MHz.
Signed-off-by: NBaruch Siach <baruch@tkos.co.il>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 4cd3f96c
...@@ -211,7 +211,7 @@ static struct clk_lookup lookups[] = { ...@@ -211,7 +211,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("fec.0", NULL, fec_clk) _REGISTER_CLOCK("fec.0", NULL, fec_clk)
}; };
int __init mx25_clocks_init(unsigned long fref) int __init mx25_clocks_init(void)
{ {
int i; int i;
......
...@@ -91,7 +91,7 @@ static void __init mx25pdk_init(void) ...@@ -91,7 +91,7 @@ static void __init mx25pdk_init(void)
static void __init mx25pdk_timer_init(void) static void __init mx25pdk_timer_init(void)
{ {
mx25_clocks_init(26000000); mx25_clocks_init();
} }
static struct sys_timer mx25pdk_timer = { static struct sys_timer mx25pdk_timer = {
......
...@@ -32,7 +32,7 @@ extern void mxc91231_init_irq(void); ...@@ -32,7 +32,7 @@ extern void mxc91231_init_irq(void);
extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int); extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int);
extern int mx1_clocks_init(unsigned long fref); extern int mx1_clocks_init(unsigned long fref);
extern int mx21_clocks_init(unsigned long lref, unsigned long fref); extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
extern int mx25_clocks_init(unsigned long fref); extern int mx25_clocks_init(void);
extern int mx27_clocks_init(unsigned long fref); extern int mx27_clocks_init(unsigned long fref);
extern int mx31_clocks_init(unsigned long fref); extern int mx31_clocks_init(unsigned long fref);
extern int mx35_clocks_init(void); extern int mx35_clocks_init(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册