diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-01-15 09:47:10 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-23 19:32:39 -0600 |
commit | 6392f1845b54eefbfa5f3569155451949d250b6d (patch) | |
tree | 198bb90249b1bf95692fc6b9eee25ab8372edceb /arch/powerpc/platforms/83xx/mpc834x_mds.c | |
parent | 277982e2d8a240576359e44b3f98c490861fc1ad (diff) | |
download | linux-6392f1845b54eefbfa5f3569155451949d250b6d.tar.gz linux-6392f1845b54eefbfa5f3569155451949d250b6d.tar.bz2 linux-6392f1845b54eefbfa5f3569155451949d250b6d.zip |
[POWERPC] 83xx: convert boards to use machine_device_initcall
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc834x_mds.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc834x_mds.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc834x_mds.c b/arch/powerpc/platforms/83xx/mpc834x_mds.c index 459fb7227e76..2b8a0a3f8557 100644 --- a/arch/powerpc/platforms/83xx/mpc834x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc834x_mds.c @@ -115,13 +115,10 @@ static struct of_device_id mpc834x_ids[] = { static int __init mpc834x_declare_of_platform_devices(void) { - if (!machine_is(mpc834x_mds)) - return 0; - of_platform_bus_probe(NULL, mpc834x_ids, NULL); return 0; } -device_initcall(mpc834x_declare_of_platform_devices); +machine_device_initcall(mpc834x_mds, mpc834x_declare_of_platform_devices); /* * Called very early, MMU is off, device-tree isn't unflattened |