summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/44x/sequoia.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/44x/sequoia.c')
-rw-r--r--arch/powerpc/platforms/44x/sequoia.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/44x/sequoia.c b/arch/powerpc/platforms/44x/sequoia.c
index 1326f0c68712..374f8c7fcd01 100644
--- a/arch/powerpc/platforms/44x/sequoia.c
+++ b/arch/powerpc/platforms/44x/sequoia.c
@@ -34,14 +34,11 @@ static __initdata struct of_device_id sequoia_of_bus[] = {
static int __init sequoia_device_probe(void)
{
- if (!machine_is(sequoia))
- return 0;
-
of_platform_bus_probe(NULL, sequoia_of_bus, NULL);
return 0;
}
-device_initcall(sequoia_device_probe);
+machien_device_initcall(sequoia, sequoia_device_probe);
static int __init sequoia_probe(void)
{