diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 03:26:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 06:31:14 -0400 |
commit | 55b61fec22caa3e7872caea6c4100fc75cb8f49b (patch) | |
tree | 995c2cf733bbd9ee1adc6e77773b0e31e9c21267 /drivers/usb/host | |
parent | d9333afd6a714760c13f76ba275a32ec7bd979c1 (diff) |
[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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ohci-ppc-of.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index 08e237c7bc43..c43b66acd4d5 100644 --- a/drivers/usb/host/ohci-ppc-of.c +++ b/drivers/usb/host/ohci-ppc-of.c | |||
@@ -97,8 +97,8 @@ ohci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match) | |||
97 | return -ENODEV; | 97 | return -ENODEV; |
98 | 98 | ||
99 | is_bigendian = | 99 | is_bigendian = |
100 | device_is_compatible(dn, "ohci-bigendian") || | 100 | of_device_is_compatible(dn, "ohci-bigendian") || |
101 | device_is_compatible(dn, "ohci-be"); | 101 | of_device_is_compatible(dn, "ohci-be"); |
102 | 102 | ||
103 | dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); | 103 | dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); |
104 | 104 | ||