]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/chrp/pci.c
powerpc/chrp: Fix detection of Python PCI host bridge on IBM CHRPs
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / chrp / pci.c
index 768c262b936891eeaebb361a1c2612e8ef429588..68e49b24df947825be218a11dc52d603a94ba322 100644 (file)
@@ -266,7 +266,7 @@ chrp_find_bridges(void)
                model = of_get_property(dev, "model", NULL);
                if (model == NULL)
                        model = "<none>";
-               if (of_device_is_compatible(dev, "IBM,python")) {
+               if (strncmp(model, "IBM, Python", 11) == 0) {
                        setup_python(hose, dev);
                } else if (is_mot
                           || strncmp(model, "Motorola, Grackle", 17) == 0) {