Skip to contentSkip to conversation

typo in ibm_newemac/rgmii.c

PATCH In review Al Viro 2 participants 2 messages Oct 14, 2007 Network drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 typo in ibm_newemac/rgmii.c

---

drivers/net/ibm_newemac/rgmii.c +1 -1
index bcd7fc6..3f57d6c 100644
@@ -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;
#1 lore raw
Quoted 16 lines · Al Viro

---

drivers/net/ibm_newemac/rgmii.c +1 -2
index bcd7fc6..3f57d6c 100644
@@ -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;
-
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Hi,

The same patch was submitted on http://lkml.org/lkml/2007/10/13/8

Signature · 4 lines
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.