From: Al Viro Date: Sun, 14 Oct 2007 04:50:12 +0000 (+0100) Subject: typo in ibm_newemac/rgmii.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=97be91c183275fbf3eb5e0a44b0c1a7a36ccc040;p=openwrt%2Fstaging%2Fblogic.git 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 bcd7fc639c40..3f57d6cd26e2 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;