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