powerpc/mpc5121: avoid using arch_initcall for clock init
authorAnatolij Gustschin <agust@denx.de>
Tue, 16 Feb 2010 17:35:13 +0000 (10:35 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 16 Feb 2010 17:35:13 +0000 (10:35 -0700)
commit284ed66fc3beca509a7549aae06af5c74023304c
tree16147ca13e10d4235b759d5b126c223f2f9f18c0
parent724e6d3fe8003c3f60bf404bf22e4e331327c596
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>
arch/powerpc/platforms/512x/clock.c
arch/powerpc/platforms/512x/mpc5121_ads.c
arch/powerpc/platforms/512x/mpc5121_generic.c
arch/powerpc/platforms/512x/mpc512x.h
arch/powerpc/platforms/512x/mpc512x_shared.c