[POWERPC] Rename device_is_compatible to of_device_is_compatible
for consistency with other Open Firmware interfaces (and Sparc). This is just a straight replacement. This leaves the compatibility define in place. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
d9333afd6a
commit
55b61fec22
@@ -267,7 +267,7 @@ chrp_find_bridges(void)
|
||||
model = of_get_property(dev, "model", NULL);
|
||||
if (model == NULL)
|
||||
model = "<none>";
|
||||
if (device_is_compatible(dev, "IBM,python")) {
|
||||
if (of_device_is_compatible(dev, "IBM,python")) {
|
||||
setup_python(hose, dev);
|
||||
} else if (is_mot
|
||||
|| strncmp(model, "Motorola, Grackle", 17) == 0) {
|
||||
|
Reference in New Issue
Block a user