summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/44x/ebony.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/44x/ebony.c')
-rw-r--r--arch/powerpc/platforms/44x/ebony.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/44x/ebony.c b/arch/powerpc/platforms/44x/ebony.c
index 767db4f9fc2c..481a016e1535 100644
--- a/arch/powerpc/platforms/44x/ebony.c
+++ b/arch/powerpc/platforms/44x/ebony.c
@@ -37,14 +37,11 @@ static __initdata struct of_device_id ebony_of_bus[] = {
static int __init ebony_device_probe(void)
{
- if (!machine_is(ebony))
- return 0;
-
of_platform_bus_probe(NULL, ebony_of_bus, NULL);
return 0;
}
-device_initcall(ebony_device_probe);
+machine_device_initcall(ebony, ebony_device_probe);
/*
* Called very early, MMU is off, device-tree isn't unflattened