From: Al Viro Date: Sun, 14 Oct 2007 04:50:12 +0000 (+0100) Subject: typo in ibm_newemac/rgmii.c X-Git-Tag: v2.6.24-rc1~1332 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97be91c183275fbf3eb5e0a44b0c1a7a36ccc040;p=linux-2.6 typo in ibm_newemac/rgmii.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/ibm_newemac/rgmii.c b/drivers/net/ibm_newemac/rgmii.c index bcd7fc639c..3f57d6cd26 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;