NEWEMAC: Add compatible "ibm,tah" to tah matching table
authorStefan Roese <sr@denx.de>
Thu, 13 Mar 2008 15:59:43 +0000 (16:59 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 12:06:44 +0000 (08:06 -0400)
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>
drivers/net/ibm_newemac/tah.c

index 96417ad..b023d10 100644 (file)
@@ -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",
        },