powerpc: Move 32-bit probe() machine to later in the boot process
[cascardo/linux.git] / arch / powerpc / platforms / 40x / ep405.c
index ddc12a1..1c8aec6 100644 (file)
@@ -105,9 +105,7 @@ static void __init ep405_setup_arch(void)
 
 static int __init ep405_probe(void)
 {
-       unsigned long root = of_get_flat_dt_root();
-
-       if (!of_flat_dt_is_compatible(root, "ep405"))
+       if (!of_machine_is_compatible("ep405"))
                return 0;
 
        return 1;