typo in ibm_newemac/rgmii.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7ac0326c3f
commit
97be91c183
|
@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct of_device *ofdev,
|
|||
}
|
||||
|
||||
/* Check for RGMII type */
|
||||
if (device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
|
||||
if (of_device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
|
||||
dev->type = RGMII_AXON;
|
||||
else
|
||||
dev->type = RGMII_STANDARD;
|
||||
|
|
Loading…
Reference in New Issue