Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210504
b: refs/heads/master
c: 5afddee
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Ferre committed Sep 9, 2010
1 parent 4374eba commit b5cbdb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 8d2602e0778299e2d6084f03086b716d6e7a1e1e
refs/heads/master: 5afddee415c829704d3a91031ae634008bc332e9
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-at91/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ postcore_initcall(at91_clk_debugfs_init);
int __init clk_register(struct clk *clk)
{
if (clk_is_peripheral(clk)) {
clk->parent = &mck;
if (!clk->parent)
clk->parent = &mck;
clk->mode = pmc_periph_mode;
list_add_tail(&clk->node, &clocks);
}
Expand Down

0 comments on commit b5cbdb8

Please sign in to comment.