diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-04-24 12:20:28 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-07-28 17:07:29 +0200 |
commit | 465393749da3a3229f6067246c7e8f97f7cc833d (patch) | |
tree | f2a8fa3d4c03fd09aed307e6d71805169c71003a /arch/arm/mach-at91/setup.c | |
parent | at91: use structure to store the current soc (diff) | |
download | linux-465393749da3a3229f6067246c7e8f97f7cc833d.tar.xz linux-465393749da3a3229f6067246c7e8f97f7cc833d.zip |
at91: move clock subsystem init to soc generic init
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 9ea41838f5db..dfbc3fa70d22 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c @@ -248,5 +248,8 @@ void __init at91_map_io(void) void __init at91_initialize(unsigned long main_clock) { - at91_boot_soc.init(main_clock); + /* Init clock subsystem */ + at91_clock_init(main_clock); + + at91_boot_soc.init(); } |