summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 04:50:12 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 15:53:33 (GMT)
commit97be91c183275fbf3eb5e0a44b0c1a7a36ccc040 (patch)
tree0ab59851b4d5d521ef8616347675c00a0900d4a8 /drivers
parent7ac0326c3fd3f7cd2426dbbce896a0f8c91b962f (diff)
downloadlinux-fsl-qoriq-97be91c183275fbf3eb5e0a44b0c1a7a36ccc040.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ibm_newemac/rgmii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/rgmii.c b/drivers/net/ibm_newemac/rgmii.c
index bcd7fc6..3f57d6c 100644
--- a/drivers/net/ibm_newemac/rgmii.c
+++ b/drivers/net/ibm_newemac/rgmii.c
@@ -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;