public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] typo in ibm_newemac/rgmii.c
@ 2007-10-14  4:50 Al Viro
  2007-10-14  6:38 ` Kamalesh Babulal
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-10-14  4:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: rdreier, linux-kernel


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-14  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-14  4:50 [PATCH] typo in ibm_newemac/rgmii.c Al Viro
2007-10-14  6:38 ` Kamalesh Babulal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox