Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / arch / powerpc / platforms / 44x / ppc44x_simple.c
index 573c3d2..8d6e4da 100644 (file)
@@ -67,11 +67,10 @@ static char *board[] __initdata = {
 
 static int __init ppc44x_probe(void)
 {
-       unsigned long root = of_get_flat_dt_root();
        int i = 0;
 
        for (i = 0; i < ARRAY_SIZE(board); i++) {
-               if (of_flat_dt_is_compatible(root, board[i])) {
+               if (of_machine_is_compatible(board[i])) {
                        pci_set_flags(PCI_REASSIGN_ALL_RSRC);
                        return 1;
                }