powerpc/85xx: correct vendor prefix in DTS files for TQM85xx modules
[safe/jmp/linux-2.6] / arch / powerpc / platforms / 85xx / tqm85xx.c
index 2a08b31..a682cbc 100644 (file)
@@ -146,10 +146,6 @@ static void tqm85xx_show_cpuinfo(struct seq_file *m)
 }
 
 static struct of_device_id __initdata of_bus_ids[] = {
-       { .name = "soc", },
-       { .type = "soc", },
-       { .name = "cpm", },
-       { .name = "localbus", },
        { .compatible = "simple-bus", },
        {},
 };
@@ -169,10 +165,10 @@ static int __init tqm85xx_probe(void)
 {
        unsigned long root = of_get_flat_dt_root();
 
-       if ((of_flat_dt_is_compatible(root, "tqm,8540")) ||
-           (of_flat_dt_is_compatible(root, "tqm,8541")) ||
-           (of_flat_dt_is_compatible(root, "tqm,8555")) ||
-           (of_flat_dt_is_compatible(root, "tqm,8560")))
+       if ((of_flat_dt_is_compatible(root, "tqc,tqm8540")) ||
+           (of_flat_dt_is_compatible(root, "tqc,tqm8541")) ||
+           (of_flat_dt_is_compatible(root, "tqc,tqm8555")) ||
+           (of_flat_dt_is_compatible(root, "tqc,tqm8560")))
                return 1;
 
        return 0;