[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
@@ -221,7 +221,7 @@ static struct uic * __init uic_init_one(struct device_node *node)
|
||||
const u32 *indexp, *dcrreg;
|
||||
int len;
|
||||
|
||||
BUG_ON(! device_is_compatible(node, "ibm,uic"));
|
||||
BUG_ON(! of_device_is_compatible(node, "ibm,uic"));
|
||||
|
||||
uic = alloc_bootmem(sizeof(*uic));
|
||||
if (! uic)
|
||||
|
Reference in New Issue
Block a user