diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-02-16 10:35:13 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-16 10:35:13 -0700 |
commit | 284ed66fc3beca509a7549aae06af5c74023304c (patch) | |
tree | 16147ca13e10d4235b759d5b126c223f2f9f18c0 /arch/powerpc/platforms/512x/mpc5121_ads.c | |
parent | 724e6d3fe8003c3f60bf404bf22e4e331327c596 (diff) | |
download | kernel_samsung_espresso10-284ed66fc3beca509a7549aae06af5c74023304c.zip kernel_samsung_espresso10-284ed66fc3beca509a7549aae06af5c74023304c.tar.gz kernel_samsung_espresso10-284ed66fc3beca509a7549aae06af5c74023304c.tar.bz2 |
powerpc/mpc5121: avoid using arch_initcall for clock init
Move mpc5121_clk_init() call to platform init code so it won't
get called on non-5121 platforms on a multiplatform kernel.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/512x/mpc5121_ads.c')
-rw-r--r-- | arch/powerpc/platforms/512x/mpc5121_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/512x/mpc5121_ads.c b/arch/powerpc/platforms/512x/mpc5121_ads.c index 441abc4..0f8f2e9 100644 --- a/arch/powerpc/platforms/512x/mpc5121_ads.c +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c @@ -64,7 +64,7 @@ define_machine(mpc5121_ads) { .name = "MPC5121 ADS", .probe = mpc5121_ads_probe, .setup_arch = mpc5121_ads_setup_arch, - .init = mpc512x_declare_of_platform_devices, + .init = mpc512x_init, .init_IRQ = mpc5121_ads_init_IRQ, .get_irq = ipic_get_irq, .calibrate_decr = generic_calibrate_decr, |