Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350741
b: refs/heads/master
c: 8ae5ac5
h: refs/heads/master
i:
  350739: 1d01107
v: v3
  • Loading branch information
Prashant Gaikwad authored and Mike Turquette committed Jan 24, 2013
1 parent f721943 commit 3478631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 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: 10290030d7d31e387f602190ece2cdb3abfb3d71
refs/heads/master: 8ae5ac5607b5baf7c1178998032ba752f61c7165
1 change: 1 addition & 0 deletions trunk/drivers/clk/versatile/clk-vexpress-osc.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,4 @@ void __init vexpress_osc_of_setup(struct device_node *node)
vexpress_config_func_put(osc->func);
kfree(osc);
}
CLK_OF_DECLARE(vexpress_soc, "arm,vexpress-osc", vexpress_osc_of_setup);
8 changes: 1 addition & 7 deletions trunk/drivers/clk/versatile/clk-vexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,13 @@ struct clk *vexpress_sp810_of_get(struct of_phandle_args *clkspec, void *data)
return vexpress_sp810_timerclken[clkspec->args[0]];
}

static const __initconst struct of_device_id vexpress_fixed_clk_match[] = {
{ .compatible = "fixed-clock", .data = of_fixed_clk_setup, },
{ .compatible = "arm,vexpress-osc", .data = vexpress_osc_of_setup, },
{}
};

void __init vexpress_clk_of_init(void)
{
struct device_node *node;
struct clk *clk;
struct clk *refclk, *timclk;

of_clk_init(vexpress_fixed_clk_match);
of_clk_init(NULL);

node = of_find_compatible_node(NULL, NULL, "arm,sp810");
vexpress_sp810_init(of_iomap(node, 0));
Expand Down

0 comments on commit 3478631

Please sign in to comment.