diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/chrp/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/chrp/pci.c b/arch/powerpc/platforms/chrp/pci.c index 768c262b9368..68e49b24df94 100644 --- a/arch/powerpc/platforms/chrp/pci.c +++ b/arch/powerpc/platforms/chrp/pci.c | |||
@@ -266,7 +266,7 @@ chrp_find_bridges(void) | |||
266 | model = of_get_property(dev, "model", NULL); | 266 | model = of_get_property(dev, "model", NULL); |
267 | if (model == NULL) | 267 | if (model == NULL) |
268 | model = "<none>"; | 268 | model = "<none>"; |
269 | if (of_device_is_compatible(dev, "IBM,python")) { | 269 | if (strncmp(model, "IBM, Python", 11) == 0) { |
270 | setup_python(hose, dev); | 270 | setup_python(hose, dev); |
271 | } else if (is_mot | 271 | } else if (is_mot |
272 | || strncmp(model, "Motorola, Grackle", 17) == 0) { | 272 | || strncmp(model, "Motorola, Grackle", 17) == 0) { |