Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146825
b: refs/heads/master
c: 9fe5ee0
h: refs/heads/master
i:
  146823: 5a16fd6
v: v3
  • Loading branch information
Paul Mundt committed May 12, 2009
1 parent 04f55f7 commit 925db7b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3f8290cb3fa4aa627321530bb85d5f35e487433
refs/heads/master: 9fe5ee0efb1b1d4a0939bc4252a8427e3337d96a
8 changes: 1 addition & 7 deletions trunk/arch/sh/kernel/cpu/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,7 @@ void clk_put(struct clk *clk)
}
EXPORT_SYMBOL_GPL(clk_put);

void __init __attribute__ ((weak))
arch_init_clk_ops(struct clk_ops **ops, int type)
{
}

int __init __attribute__ ((weak))
arch_clk_init(void)
int __init __weak arch_clk_init(void)
{
return 0;
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static struct clk *sh4202_onchip_clocks[] = {
&sh4202_shoc_clk,
};

static int __init sh4202_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -166,4 +166,3 @@ static int __init sh4202_clk_init(void)

return ret;
}
arch_initcall(sh4202_clk_init);
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4a/clock-sh7763.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static struct clk *sh7763_onchip_clocks[] = {
&sh7763_shyway_clk,
};

static int __init sh7763_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -106,4 +106,3 @@ static int __init sh7763_clk_init(void)

return ret;
}
arch_initcall(sh7763_clk_init);
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4a/clock-sh7780.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static struct clk *sh7780_onchip_clocks[] = {
&sh7780_shyway_clk,
};

static int __init sh7780_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -112,4 +112,3 @@ static int __init sh7780_clk_init(void)

return ret;
}
arch_initcall(sh7780_clk_init);
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4a/clock-sh7785.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static struct clk *sh7785_onchip_clocks[] = {
&sh7785_ram_clk,
};

static int __init sh7785_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -150,4 +150,3 @@ static int __init sh7785_clk_init(void)

return ret;
}
arch_initcall(sh7785_clk_init);
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4a/clock-sh7786.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static struct clk *sh7786_onchip_clocks[] = {
&sh7786_ddr_clk,
};

static int __init sh7786_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -136,4 +136,3 @@ static int __init sh7786_clk_init(void)

return ret;
}
arch_initcall(sh7786_clk_init);
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/cpu/sh4a/clock-shx3.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static struct clk *shx3_onchip_clocks[] = {
&shx3_shyway_clk,
};

static int __init shx3_clk_init(void)
int __init arch_clk_init(void)
{
struct clk *clk = clk_get(NULL, "master_clk");
int i, ret = 0;
Expand All @@ -123,4 +123,3 @@ static int __init shx3_clk_init(void)

return ret;
}
arch_initcall(shx3_clk_init);

0 comments on commit 925db7b

Please sign in to comment.