aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/40x/kilauea.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/40x/kilauea.c')
-rw-r--r--arch/powerpc/platforms/40x/kilauea.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/40x/kilauea.c b/arch/powerpc/platforms/40x/kilauea.c
index a23368042e6..f9206a7fede 100644
--- a/arch/powerpc/platforms/40x/kilauea.c
+++ b/arch/powerpc/platforms/40x/kilauea.c
@@ -30,14 +30,11 @@ static __initdata struct of_device_id kilauea_of_bus[] = {
static int __init kilauea_device_probe(void)
{
- if (!machine_is(kilauea))
- return 0;
-
of_platform_bus_probe(NULL, kilauea_of_bus, NULL);
return 0;
}
-device_initcall(kilauea_device_probe);
+machine_device_initcall(kilauea, kilauea_device_probe);
static int __init kilauea_probe(void)
{