diff options
Diffstat (limited to 'arch/powerpc/platforms/44x/katmai.c')
-rw-r--r-- | arch/powerpc/platforms/44x/katmai.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/44x/katmai.c b/arch/powerpc/platforms/44x/katmai.c index 06aa0aa3cf0..11134121f27 100644 --- a/arch/powerpc/platforms/44x/katmai.c +++ b/arch/powerpc/platforms/44x/katmai.c @@ -34,14 +34,11 @@ static __initdata struct of_device_id katmai_of_bus[] = { static int __init katmai_device_probe(void) { - if (!machine_is(katmai)) - return 0; - of_platform_bus_probe(NULL, katmai_of_bus, NULL); return 0; } -device_initcall(katmai_device_probe); +machine_device_initcall(katmai, katmai_device_probe); static int __init katmai_probe(void) { |