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