Browse Source

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.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Stefan Roese 17 years ago
parent
commit
cdb3469778
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/net/ibm_newemac/tah.c

+ 4 - 0
drivers/net/ibm_newemac/tah.c

@@ -154,6 +154,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",
 	},