diff options
Diffstat (limited to 'arch/powerpc/platforms/44x/rainier.c')
-rw-r--r-- | arch/powerpc/platforms/44x/rainier.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/44x/rainier.c b/arch/powerpc/platforms/44x/rainier.c index 4e06039ec665..a4ce5ba8fe32 100644 --- a/arch/powerpc/platforms/44x/rainier.c +++ b/arch/powerpc/platforms/44x/rainier.c @@ -32,14 +32,11 @@ static __initdata struct of_device_id rainier_of_bus[] = { static int __init rainier_device_probe(void) { - if (!machine_is(rainier)) - return 0; - of_platform_bus_probe(NULL, rainier_of_bus, NULL); return 0; } -device_initcall(rainier_device_probe); +machine_device_initcall(rainier, rainier_device_probe); static int __init rainier_probe(void) { |