aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/platforms/512x/mpc512x.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-02-16 10:35:13 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-02-16 10:35:13 -0700
commit284ed66fc3beca509a7549aae06af5c74023304c (patch)
tree16147ca13e10d4235b759d5b126c223f2f9f18c0 /arch/powerpc/platforms/512x/mpc512x.h
parentLinux 2.6.33-rc8 (diff)
downloadwireguard-linux-284ed66fc3beca509a7549aae06af5c74023304c.tar.xz
wireguard-linux-284ed66fc3beca509a7549aae06af5c74023304c.zip
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/mpc512x.h')
-rw-r--r--arch/powerpc/platforms/512x/mpc512x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/512x/mpc512x.h b/arch/powerpc/platforms/512x/mpc512x.h
index 22a5352407e0..ac3da1a0c4e5 100644
--- a/arch/powerpc/platforms/512x/mpc512x.h
+++ b/arch/powerpc/platforms/512x/mpc512x.h
@@ -12,5 +12,7 @@
#ifndef __MPC512X_H__
#define __MPC512X_H__
extern void __init mpc512x_init_IRQ(void);
+extern void __init mpc512x_init(void);
+extern int __init mpc5121_clk_init(void);
void __init mpc512x_declare_of_platform_devices(void);
#endif /* __MPC512X_H__ */