Commit 97be91c1 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

typo in ibm_newemac/rgmii.c

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7ac0326c
...@@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct of_device *ofdev, ...@@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct of_device *ofdev,
} }
/* Check for RGMII type */ /* 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; dev->type = RGMII_AXON;
else else
dev->type = RGMII_STANDARD; dev->type = RGMII_STANDARD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment