[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
@@ -117,7 +117,7 @@ static const struct vio_device_id *vio_match_device(
|
||||
{
|
||||
while (ids->type[0] != '\0') {
|
||||
if ((strncmp(dev->type, ids->type, strlen(ids->type)) == 0) &&
|
||||
device_is_compatible(dev->dev.archdata.of_node,
|
||||
of_device_is_compatible(dev->dev.archdata.of_node,
|
||||
ids->compat))
|
||||
return ids;
|
||||
ids++;
|
||||
|
Reference in New Issue
Block a user