diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-01-15 18:42:36 +0300 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-24 04:32:37 +0300 |
commit | 277982e2d8a240576359e44b3f98c490861fc1ad (patch) | |
tree | 2097d78258009bf30ae759b88ba306a318f0b655 /arch/powerpc/platforms/85xx/mpc85xx_ads.c | |
parent | c51a3fdc0a950dc65b4d552497e54cf60677f8a5 (diff) | |
download | linux-277982e2d8a240576359e44b3f98c490861fc1ad.tar.xz |
[POWERPC] 85xx: convert boards to use machine_device_initcall
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_ads.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index bccdc25f83a2..eb0a46bb1ccc 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c @@ -233,13 +233,11 @@ static struct of_device_id __initdata of_bus_ids[] = { static int __init declare_of_platform_devices(void) { - if (!machine_is(mpc85xx_ads)) - return 0; - of_platform_bus_probe(NULL, of_bus_ids, NULL); + return 0; } -device_initcall(declare_of_platform_devices); +machine_device_initcall(mpc85xx_ads, declare_of_platform_devices); /* * Called very early, device-tree isn't unflattened |