Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[deliverable/linux.git] / arch / powerpc / platforms / 44x / ebony.c
index ae893226392dbf4f5494a95a55070ac758e7c685..1070225f5f9b88589019cf2037b7e780e455913c 100644 (file)
@@ -49,9 +49,7 @@ machine_device_initcall(ebony, ebony_device_probe);
  */
 static int __init ebony_probe(void)
 {
-       unsigned long root = of_get_flat_dt_root();
-
-       if (!of_flat_dt_is_compatible(root, "ibm,ebony"))
+       if (!of_machine_is_compatible("ibm,ebony"))
                return 0;
 
        pci_set_flags(PCI_REASSIGN_ALL_RSRC);
This page took 0.026058 seconds and 5 git commands to generate.