diff options
author | David Lechner <david@lechnology.com> | 2016-04-14 22:13:35 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-04-27 13:33:49 +0300 |
commit | 6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91 (patch) | |
tree | 38703cfb86206cc00acef60a545f8cbc3ac1e676 /arch/arm/mach-davinci/dm365.c | |
parent | 8a9d088f66f84d7317b4adc64d3d3114f1ee8583 (diff) | |
download | linux-6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91.tar.xz |
ARM: davinci: Move clock init after ioremap.
Some clocks (such as the USB PHY clocks in DA8xx) will need to use iomem.
The davinci_common_init() function must be called before the ioremap, so
the clock init is now split out as separate function.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index 384d3674dd9b..8aa004b02fe9 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c @@ -1176,6 +1176,7 @@ void __init dm365_init(void) { davinci_common_init(&davinci_soc_info_dm365); davinci_map_sysmod(); + davinci_clk_init(davinci_soc_info_dm365.cpu_clks); } static struct resource dm365_vpss_resources[] = { |