powerpc: Move 32-bit probe() machine to later in the boot process
[cascardo/linux.git] / arch / powerpc / platforms / embedded6xx / storcenter.c
index 4596cba..471a50b 100644 (file)
@@ -109,9 +109,7 @@ static void __noreturn storcenter_restart(char *cmd)
 
 static int __init storcenter_probe(void)
 {
-       unsigned long root = of_get_flat_dt_root();
-
-       return of_flat_dt_is_compatible(root, "iomega,storcenter");
+       return of_machine_is_compatible("iomega,storcenter");
 }
 
 define_machine(storcenter){