aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 05:50:12 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 08:53:33 -0700
commit97be91c183275fbf3eb5e0a44b0c1a7a36ccc040 (patch)
tree0ab59851b4d5d521ef8616347675c00a0900d4a8
parent7ac0326c3fd3f7cd2426dbbce896a0f8c91b962f (diff)
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>
-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 bcd7fc639c4..3f57d6cd26e 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;