diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 19:55:42 +0300 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 22:15:26 +0300 |
commit | 77b41597e8d469535cfe09a641654bdc97dcf0d0 (patch) | |
tree | 6869ddf46053eb1a1d2413a5b074f2e7d78c0641 /arch/powerpc/platforms/85xx/sbc8548.c | |
parent | b38308ac8e0404eea82fec09d560a2bc29a514f4 (diff) | |
download | linux-77b41597e8d469535cfe09a641654bdc97dcf0d0.tar.xz |
[POWERPC] 85xx: convert sbc85* boards to use machine_device_initcall
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/sbc8548.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/sbc8548.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/85xx/sbc8548.c b/arch/powerpc/platforms/85xx/sbc8548.c index de27b576c13d..488facb99fe8 100644 --- a/arch/powerpc/platforms/85xx/sbc8548.c +++ b/arch/powerpc/platforms/85xx/sbc8548.c @@ -135,13 +135,11 @@ static struct of_device_id __initdata of_bus_ids[] = { static int __init declare_of_platform_devices(void) { - if (!machine_is(sbc8548)) - return 0; - of_platform_bus_probe(NULL, of_bus_ids, NULL); + return 0; } -device_initcall(declare_of_platform_devices); +machine_device_initcall(sbc8548, declare_of_platform_devices); /* * Called very early, device-tree isn't unflattened |