[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>
Этот коммит содержится в:

коммит произвёл
Paul Mackerras

родитель
d9333afd6a
Коммит
55b61fec22
@@ -97,8 +97,8 @@ ohci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match)
|
||||
return -ENODEV;
|
||||
|
||||
is_bigendian =
|
||||
device_is_compatible(dn, "ohci-bigendian") ||
|
||||
device_is_compatible(dn, "ohci-be");
|
||||
of_device_is_compatible(dn, "ohci-bigendian") ||
|
||||
of_device_is_compatible(dn, "ohci-be");
|
||||
|
||||
dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n");
|
||||
|
||||
|
Ссылка в новой задаче
Block a user