diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 14:24:51 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 14:24:51 (GMT) |
commit | 6ccaa3172941c0a97c7f1c5155b1d32ecd27ec2f (patch) | |
tree | f92588c8084f758c348120d712292d7f4a00edc7 /arch/arm/mach-at91/clock.c | |
parent | 3657423c02b639fcade37673f8541bd90c5e58e5 (diff) | |
parent | 4deb22a6001eb0d4058295c3645c36190a0ec603 (diff) | |
download | linux-6ccaa3172941c0a97c7f1c5155b1d32ecd27ec2f.tar.xz |
Merge branch 'at91-fixes-for-linus' of git://github.com/at91linux/linux-2.6-at91
* 'at91-fixes-for-linus' of git://github.com/at91linux/linux-2.6-at91:
AT91: at91sam9261ek: remove C99 comments but keep information
AT91: at91sam9261ek board: remove warnings related to use of SPI or SD/MMC
AT91: dm9000 initialization update
AT91: SAM9G45 - add a separate clock entry for every single TC block
AT91: clock: peripheral clocks can have other parent than mck
AT91: change dma resource index
Diffstat (limited to 'arch/arm/mach-at91/clock.c')
-rw-r--r-- | arch/arm/mach-at91/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 7f7da43..7525cee 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -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); } |