summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-03-13 16:59:43 +0100
committerJeff Garzik <jeff@garzik.org>2008-03-17 08:06:44 -0400
commitcdb346977829885cbd8b1200ca21049b1df242ad (patch)
tree6d0eef504f5d440bb3ba055ce2979276505c8523 /drivers/net/ibm_newemac
parent10d0f27c1baa4a094b4965708a15f2b0c4d65f5e (diff)
downloadop-kernel-dev-cdb346977829885cbd8b1200ca21049b1df242ad.zip
op-kernel-dev-cdb346977829885cbd8b1200ca21049b1df242ad.tar.gz
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>
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r--drivers/net/ibm_newemac/tah.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c
index 96417ad..b023d10 100644
--- a/drivers/net/ibm_newemac/tah.c
+++ b/drivers/net/ibm_newemac/tah.c
@@ -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",
},
{},
OpenPOWER on IntegriCloud