From 97be91c183275fbf3eb5e0a44b0c1a7a36ccc040 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 05:50:12 +0100 Subject: [PATCH] typo in ibm_newemac/rgmii.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/net/ibm_newemac/rgmii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5