Skip to contentSkip to conversation

net: NEWEMAC: Add compatible "ibm,tah" to tah matching table

PATCH Applied Stefan Roese 2 participants 2 messages Mar 13, 2008 – Mar 17, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: NEWEMAC: Add compatible "ibm,tah" to tah matching table

Add "ibm,tah" to the compatible matching table of the ibm_newemac tah driver. The type "tah" is still preserved for compatibility reasons. New dts files should use the compatible property though.

---
 drivers/net/ibm_newemac/tah.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/net/ibm_newemac/tah.c +4 -0
index 96417ad..b023d10 100644
@@ -155,6 +155,10 @@ static int __devexit tah_remove(struct of_device *ofdev)
 static struct of_device_id tah_match[] =
 {
 	{
+		.compatible	= "ibm,tah",
+	},
+	/* For backward compat with old DT */
+	{
 		.type		= "tah",
 	},
 	{},
Signature · 1 line
1.5.4.4
Applied
#1 lore raw
Quoted 8 lines · Stefan Roese

Add "ibm,tah" to the compatible matching table of the ibm_newemac tah driver. The type "tah" is still preserved for compatibility reasons. New dts files should use the compatible property though.

---
 drivers/net/ibm_newemac/tah.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

applied