diff options
author | Anatolij Gustschin <agust@denx.de> | 2013-01-25 20:29:21 +0400 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-01-29 12:22:53 +0400 |
commit | f29bc0a4e3712ddada0b3bc251105689d6ce4f91 (patch) | |
tree | 8aec1f23dc641590f4c00855bc6a401ac6795fb0 /arch/powerpc/platforms/512x | |
parent | f4ef34537ad303e2230ec543cccc7847f3c47ae8 (diff) | |
download | linux-f29bc0a4e3712ddada0b3bc251105689d6ce4f91.tar.xz |
powerpc/512x: initialize clocks before bus probing
Early driver probing can fail due to not available clocks
(clk_get() fails) since the clk API init didn't take place yet.
Move clocks init before bus probing.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/powerpc/platforms/512x')
-rw-r--r-- | arch/powerpc/platforms/512x/mpc512x_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/512x/mpc512x_shared.c b/arch/powerpc/platforms/512x/mpc512x_shared.c index 35f14fda108a..c34443849d9a 100644 --- a/arch/powerpc/platforms/512x/mpc512x_shared.c +++ b/arch/powerpc/platforms/512x/mpc512x_shared.c @@ -431,8 +431,8 @@ void __init mpc512x_psc_fifo_init(void) void __init mpc512x_init(void) { - mpc512x_declare_of_platform_devices(); mpc5121_clk_init(); + mpc512x_declare_of_platform_devices(); mpc512x_restart_init(); mpc512x_psc_fifo_init(); } |